Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8b14578
first commit
anasvemmully May 24, 2026
c492580
chore: create folder structure
anasvemmully May 25, 2026
e442bc3
chore: run npm run lint:fix
anasvemmully May 29, 2026
6baf846
chore: update tasks
anasvemmully May 29, 2026
0d0d73f
chore: use # as path resolver instead of @
anasvemmully May 29, 2026
d6eace4
chore: update tsconfig for frontend
anasvemmully May 29, 2026
0fb6ae5
chore: integrate hu8sky for git commit linting
anasvemmully May 29, 2026
5648bd9
chore: update workspace scripts
anasvemmully May 29, 2026
b0f7826
feat: add schema
anasvemmully May 29, 2026
c100a10
chore: update db schema
anasvemmully May 29, 2026
667dc55
chore: move prisma config to prisma.config.ts
anasvemmully May 30, 2026
c300256
Merge pull request #1 from anasvemmully/chore/update-prisma-config
anasvemmully May 31, 2026
fc19193
chore: move folder structure to mvc
anasvemmully May 31, 2026
35396ef
chore: remove base url and path aliases from tsconfig.json
anasvemmully May 31, 2026
3652c0d
feat: implement ticket tiers and extend booking schema with payment a…
anasvemmully May 31, 2026
9e99a7c
feat: implement express server, redis caching
anasvemmully May 31, 2026
7704968
feat: user-auth-dashboard
muhammed-sinan-200 Jun 1, 2026
9b2a8a3
fix(auth): add suspended account handling
muhammed-sinan-200 Jun 2, 2026
5d2a47f
refactor(auth): update me endpoint and auth service improvements
muhammed-sinan-200 Jun 2, 2026
2f2414f
Merge pull request #2 from anasvemmully/feat/user-auth-dashboard
anasvemmully Jun 3, 2026
197f864
venue authentication
salbatti Jun 4, 2026
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
dist
.env
.env.local
*.log
.DS_Store
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
35 changes: 35 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Dependencies
node_modules/

# Build outputs
dist/
build/
.next/
out/

# Coverage
coverage/

# Prisma migrations
prisma/migrations/

# Lock files
package-lock.json
pnpm-lock.yaml
yarn.lock

# Generated files
*.min.js
*.min.css

# Environment files
.env
.env.*

# IDE
.idea/
.vscode/

# OS
.DS_Store
Thumbs.db
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 100
}
42 changes: 42 additions & 0 deletions TASKS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Task

1. Venue Browsing (filtering - location, category, offline/online)

- show regional based venue based on users location

2. Venue detailing

- title
- date range
- Host
- personlities
- description
- photos (banner image)
- videos
- availability (UI needed)
- pricing (need to discuss the fee structure)
- Ratings
- Parking
- AC/non-AC
- Indoor/outdoor
- Reviews

* Similar venues

3. Venue creation \*. Expire Venue (may be needed to display past events followed)
4. User Creation flow & Authentication
5. Booking flow

- QR / ticket generation

* coupons
* Map view
* cancellation policy

6. - Analytics
7. Notifications

- remind in google calender
- email confirmation

* Payments
16 changes: 16 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Application
NODE_ENV=development
PORT=3001

# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/bookmyvenue?schema=public"

# Redis
REDIS_URL="redis://localhost:6379"

# JWT
JWT_SECRET="your-super-secret-jwt-key-change-in-production"
JWT_EXPIRES_IN="7d"

# CORS
CORS_ORIGIN="http://localhost:5173"
44 changes: 44 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "@bookmyvenue/backend",
"version": "1.0.0",
"private": true,
"description": "BookMyVenue Backend API",
"main": "dist/index.js",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"db:generate": "prisma generate",
"db:migrate": "prisma migrate dev",
"db:push": "prisma db push",
"db:studio": "prisma studio",
"db:seed": "tsx prisma/seed.ts"
},
"dependencies": {
"@prisma/adapter-pg": "^7.0.0",
"@prisma/client": "^7.0.0",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"helmet": "^8.0.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"pg": "^8.11.0",
"uuid": "^10.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.0.0",
"@types/pg": "^8.11.0",
"@types/uuid": "^10.0.0",
"prisma": "^7.0.0",
"tsx": "^4.19.0"
}
}
9 changes: 9 additions & 0 deletions backend/prisma.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "dotenv/config";
import { defineConfig, env } from "prisma/config";

export default defineConfig({
schema: "prisma/schema.prisma",
datasource: {
url: env("DATABASE_URL"),
},
});
Loading