Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Commit 4bab33a

Browse files
committed
feat: remove appwrite and add nextjs backend
1 parent 7728351 commit 4bab33a

File tree

153 files changed

+13398
-2809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+13398
-2809
lines changed

.dockerignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.env.example

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
# Appwrite
2-
APPWRITE_FUNCTION_API_KEY=your-api-key
3-
PUBLIC_APPWRITE_HOST=http://localhost/v1
1+
# DATABASE
2+
DB_URL="postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}/pingvin-share?schema=public"
3+
DB_USER=postgres
4+
DB_PASSWORD=postgres
5+
DB_HOST=db:5432
46

5-
# Frontend
6-
PUBLIC_MAX_FILE_SIZE=300000000 # Note: Should be the same as in the _APP_STORAGE_LIMIT in the Appwrite .env file
7-
PUBLIC_DISABLE_REGISTRATION=true # Note: In the Appwrite console you have to change your user limit to 0 if false and else to 1
8-
PUBLIC_DISABLE_HOME_PAGE=false
9-
PUBLIC_MAIL_SHARE_ENABLED=false # Note: If set to true you have to add your SMTP server. See "Additional configurations" in the README file
7+
# GENERAL
8+
APP_URL=http://localhost:3000
9+
BACKEND_URL=http://backend:8080
10+
SHOW_HOME_PAGE=true
11+
ALLOW_REGISTRATION=true
12+
MAX_FILE_SIZE=1000000000
13+
14+
# SECURITY
15+
JWT_SECRET=long-random-string

.gitignore

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
31
# dependencies
42
node_modules
5-
/.pnp
3+
.pnp
64
.pnp.js
75

8-
# testing
9-
/coverage
10-
116
# next.js
12-
/.next/
13-
/out/
7+
/frontend/.next/
8+
/frontend/out/
149

15-
# production
16-
/build
10+
# build
11+
build/
12+
dist/
1713

1814
# misc
1915
.DS_Store
@@ -25,16 +21,19 @@ yarn-debug.log*
2521
yarn-error.log*
2622
.pnpm-debug.log*
2723

28-
# local env files
29-
.env*.local
24+
# env file
25+
.env
3026

3127
# vercel
3228
.vercel
3329

3430
# typescript
3531
*.tsbuildinfo
36-
.env
3732

3833
# PWA
39-
/public/workbox-*
40-
/public/sw.*
34+
/frontend/public/workbox-*
35+
/frontend/public/sw.*
36+
37+
# project specific
38+
/backend/uploads/
39+
/uploads/

.setup/data/collections.ts

Lines changed: 0 additions & 104 deletions
This file was deleted.

.setup/data/functions.ts

Lines changed: 0 additions & 53 deletions
This file was deleted.

.setup/index.ts

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)