Skip to content
Open

Dev #72

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
3a1b31d
init: setting up project
mshahulpm Jun 10, 2026
957551c
init: logger,validation
mshahulpm Jun 12, 2026
ca54991
chore:eslint configuration adjestments
mshahulpm Jun 12, 2026
2d27db8
AI generated code
mshahulpm Jun 15, 2026
38eb9e0
chore: imporved the dto with example and removed unwanted feilds
mshahulpm Jun 15, 2026
b8e6505
feat: api versioning enabled
mshahulpm Jun 15, 2026
184625f
feat(frontend): setup frontend foundation
mshahulpm Jun 15, 2026
9fb9e10
feat: list user api added
mshahulpm Jun 15, 2026
e47347b
feat: user listing completed in admin section
mshahulpm Jun 16, 2026
b7fe0bf
feat: venue listing usecase added and configured to admin api
mshahulpm Jun 16, 2026
b88ace5
fix: admin venue list query output issue fix
mshahulpm Jun 16, 2026
fb0433b
feat: added venue listing for admin
mshahulpm Jun 16, 2026
8bdd77d
feat: venue approve/reject feature added
mshahulpm Jun 16, 2026
454f761
feat: venues approve and reject completed
mshahulpm Jun 16, 2026
b686649
feat: create user feature added for admin
mshahulpm Jun 16, 2026
8795a53
feat: create user
mshahulpm Jun 17, 2026
4831839
[backend]
mshahulpm Jun 17, 2026
b1fb7e5
(frontend)
mshahulpm Jun 18, 2026
165bbde
(backend)
mshahulpm Jun 18, 2026
e12d3db
(frontend)
mshahulpm Jun 20, 2026
8122b5d
(backend)
mshahulpm Jun 20, 2026
6a6d317
(backend)
mshahulpm Jun 20, 2026
f7dc8c5
(backend)
mshahulpm Jun 21, 2026
7b612aa
(backend)
mshahulpm Jun 21, 2026
359f287
feat(frontend): implement consumer-facing user experience
mshahulpm Jun 21, 2026
e37f49d
fix(backend) : update booking list and details apis for the user
mshahulpm Jun 21, 2026
37245d7
fix(backend): old refresh token delete issue fixed
mshahulpm Jun 22, 2026
bf06a24
feat(backend): venue image upload added
mshahulpm Jun 22, 2026
3872ad5
fix(backend): added venue images in venue listing for owner api
mshahulpm Jun 23, 2026
c32dde3
feat(frontend): added image upload feature for venue creation
mshahulpm Jun 23, 2026
034e93b
feat(backend): dashboard feature completed for admin and owner
mshahulpm Jun 23, 2026
39d9150
feat(frontend): dashboard pages added and api integrated for admin an…
mshahulpm Jun 23, 2026
64c4f18
chore(backend): apis improvements
mshahulpm Jun 24, 2026
f1675dc
chore(frontend): some improvment in UI
mshahulpm Jun 24, 2026
baa2bd6
chore(frontend): user listing for admin improvements
mshahulpm Jun 24, 2026
4f8bf72
chore(frontend): venue listing updated with data table component
mshahulpm Jun 25, 2026
18d9011
chore(frontend): some improvements done
mshahulpm Jun 25, 2026
27c9f6f
fix(backend): owner venue listing api updated with pagination
mshahulpm Jun 25, 2026
2969be6
fix(frontend): booking status configured and updated existing code ba…
mshahulpm Jun 26, 2026
9993b54
feat(backend): booking_status added for booking entiy
mshahulpm Jun 26, 2026
af9d9de
feat(frontend): added payment status to booking and updated my-bookin…
mshahulpm Jun 26, 2026
169e895
feat(backend): added payment status to booking and updated booking re…
mshahulpm Jun 26, 2026
6150a1d
feat(backend): payment feature completed
mshahulpm Jun 30, 2026
4640992
feat(frontend): payment feature implemented in client side
mshahulpm Jul 1, 2026
81e81dc
chore(backend): integrated argon2 for password hashing
mshahulpm Jul 4, 2026
3be12df
chore(backend): health routes added
mshahulpm Jul 4, 2026
b5845c8
chore(both): docker configuration added
mshahulpm Jul 5, 2026
2913528
feat(frontend): novu notification integrated and updated notification…
mshahulpm Jul 5, 2026
26286ea
feat(notification): novu notification integrated and implemneted for …
mshahulpm Jul 7, 2026
8d9a174
feat(backend): notification service implemented using novu and integr…
mshahulpm Jul 7, 2026
2e1ce0d
fix(backend): notification not delivering issue fix
mshahulpm Jul 7, 2026
fcddb3d
fix(frontend): notification issue fixed
mshahulpm Jul 7, 2026
f23beea
fix(frontend): booking failed error message fix
mshahulpm Jul 9, 2026
581b658
chore(backend): added envalid for env variable checking
mshahulpm Jul 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# ==========================
# Docker Images
# ==========================
POSTGRES_IMAGE=postgres:18
BACKEND_IMAGE=bmv_server
FRONTEND_IMAGE=bmv_frontend

# ==========================
# Container Names
# ==========================
POSTGRES_CONTAINER_NAME=postgres_bmv
BACKEND_CONTAINER_NAME=bmv_backend
FRONTEND_CONTAINER_NAME=bmv_frontend

# ==========================
# PostgreSQL
# ==========================
DATABASE_URL="postgresql://postgres:123456@localhost:5432/bmv_dev"
# ==========================
# Backend
# ==========================
BACKEND_PORT=3000
BASE_URL=http://localhost:3000
NODE_ENV=production
JWT_SECRET=change_me_to_a_long_random_secret
RAZORPAY_KEY_ID='razor_pay_id'
RAZORPAY_SECRET='razor_pay_secret'

# ==========================
# Frontend
# ==========================
FRONTEND_PORT=5173

# Uploads
UPLOAD_DIR=/app/uploads
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
5 changes: 5 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
*.log
*.md
.git
61 changes: 61 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# compiled output
/dist
/node_modules
/build

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# temp directory
.temp
.tmp

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

/src/infra/database/prisma/generated/prisma
some.txt
REST
uploads
4 changes: 4 additions & 0 deletions backend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
Binary file added backend/BookMyVenue.pdf
Binary file not shown.
22 changes: 22 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM node:22-alpine

# Set the working directory inside the container
WORKDIR /usr/src/app

# Copy package.json and package-lock.json to the working directory
COPY package*.json ./

# Install the application dependencies
RUN npm install

# Copy the rest of the application files
COPY . .

# Build the NestJS application
RUN npm run build

# Expose the application port
EXPOSE 3000

# Command to run the application
CMD ["node", "dist/src/main.js"]
98 changes: 98 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<p align="center">
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg" alt="Donate us"/></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow" alt="Follow us on Twitter"></a>
</p>
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Project setup

```bash
$ npm install
```

## Compile and run the project

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Run tests

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```

## Deployment

When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information.

If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:

```bash
$ npm install -g @nestjs/mau
$ mau deploy
```

With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.

## Resources

Check out a few resources that may come in handy when working with NestJS:

- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
- Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).

## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
108 changes: 108 additions & 0 deletions backend/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
// @ts-check

import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: [
'dist',
'coverage',
'generated',
'node_modules',
'eslint.config.mjs',
],
},

eslint.configs.recommended,

...tseslint.configs.recommendedTypeChecked,

eslintPluginPrettierRecommended,

{
languageOptions: {
globals: {
...globals.node,
...globals.jest,
},

sourceType: 'module',

parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},

rules: {
/*
* Typescript
*/
'@typescript-eslint/no-explicit-any': 'warn',

'@typescript-eslint/no-floating-promises': 'error',

'@typescript-eslint/no-misused-promises': 'error',

'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],

'@typescript-eslint/consistent-type-imports': [
'error',
{
prefer: 'type-imports',
fixStyle: 'inline-type-imports',
},
],

'@typescript-eslint/consistent-type-definitions': [
'error',
'interface',
],

'@typescript-eslint/no-unnecessary-condition': 'error',

'@typescript-eslint/no-confusing-void-expression': 'error',

'@typescript-eslint/await-thenable': 'error',

'@typescript-eslint/require-await': 'error',

/*
* General
*/
'eqeqeq': [
'error',
'always',
],

'curly': [
'error',
'all',
],

'no-console': 'error',

'no-debugger': 'error',

/*
* Prettier
*/
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
},
);
8 changes: 8 additions & 0 deletions backend/nest-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true
}
}
Loading