Skip to content

Commit dc7358d

Browse files
Merge PR: Add image CRUD, seed DB, update Prisma
2 parents 703e402 + 6a4e16d commit dc7358d

39 files changed

Lines changed: 2184 additions & 143 deletions

.env.test

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
NODE_ENV="test"
2-
3-
DATABASE_URL="postgresql://kanux:hmk9301@localhost:5432/test_generic_express_service?schema=public"
4-
1+
NODE_ENV=test
2+
DATABASE_URL=postgresql://kanux:hmk9301@localhost:5432/test_generic_express_service?schema=public
53
ADMIN_SECRET=admin_secret
6-
7-
SECRET=secret
8-
4+
AUTHOR_PASSWORD=Author@123
95
TOKEN_EXP_PERIOD=3d
10-
11-
ALLOWED_ORIGINS=*
6+
SECRET=secret
7+
PORT=8080
8+
ALLOWED_ORIGINS=*
9+
MAX_FILE_SIZE_MB=2
10+
STORAGE_ROOT_DIR=public
11+
SUPABASE_BUCKET=bucket-name
12+
SUPABASE_ANON_KEY=public-anon-key
13+
SUPABASE_URL=https://xyzcompany.supabase.co
14+
SUPABASE_BUCKET_URL=https://xyzcompany.supabase.co/storage/v1/object/bucket

0 commit comments

Comments
 (0)