Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 115 additions & 17 deletions README.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ DATABASE_URL="postgresql://postgres:postgrespassword@localhost:5432/hackmatch?sc
# The test setup refuses to run against a Neon/production URL.
DATABASE_URL_TEST="postgresql://postgres:postgrespassword@localhost:5433/hackmatch_test?schema=public"

# Separate local database used by Playwright. Export this in the shell when
# running `npm run test:e2e`; the Playwright config defaults to the value below.
# The Playwright config also refuses Neon/production-style URLs.
E2E_DATABASE_URL="postgresql://postgres:postgrespassword@localhost:5433/hackmatch_e2e?schema=public"

# Authentication & Security
# Generate a secure 256-bit secret key in production (e.g., using: openssl rand -base64 32)
JWT_SECRET="your_jwt_secret_key_minimum_32_characters_for_hs256_security"
Expand Down
221 changes: 217 additions & 4 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"db:push": "prisma db push",
"db:generate": "prisma generate",
"db:seed": "ts-node src/seed.ts",
"make-admin": "ts-node src/scripts/make-admin.ts",
"migrate": "prisma migrate deploy",
"migrate:dev": "prisma migrate dev",
"test": "vitest run",
Expand All @@ -30,7 +31,9 @@
"express-rate-limit": "^7.5.0",
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.2",
"node-cron": "^4.6.0",
"prisma": "^6.4.1",
"socket.io": "^4.8.4",
"zod": "^3.24.2"
},
"devDependencies": {
Expand All @@ -40,6 +43,7 @@
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.9",
"@types/node": "^22.13.9",
"@types/node-cron": "^3.0.11",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4",
"nodemon": "^3.1.9",
Expand Down
Loading
Loading