You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Live Link
https://next-level-web-dev-assignment-3.vercel.app
🚀 How to run this project
step-1: clone this link
git clone https://github.com/abdullahal5/Next-Level-Web-Dev-Assignment-3.git
step-2: install all the dependencies
cd Next-Level-Web-Dev-Assignment-3
npm install
🎯 Some Important run command
step-3: Run commands
npm run start:dev --> start the development server
npm run lint --> show warning and errors
npm run lint:fix --> fix errors
npm run prettier --> This script runs Prettier to format code.
npm run prettier:fix --> This script runs Prettier to format code and auto fix.
npm run deploy --> deploy on vercel
tsc --> compile typescript to javascript
📌 Features
User Management: Signup, Login with JWT based authorization.
Room Management: CRUD operations (Create, Read, Update, Delete) on rooms with details like capacity and price.
Slot Management: Create multiple time slots for a room on a specific date, mark slots as booked.
Booking Management: Create booking for rooms with specified slots, calculate total booking amount.
Admin Privileges: Separate routes for admin actions like creating rooms and managing slots.
🛠️ Technology Used
Node.js 🟢
Express.js 🚀
Mongoose 🍃
TypeScript 📝
MongoDB 🍃
JWT 🔐
NPM Packages 📦
About
This is my second typescript project that I using in the backend with mongoose, express, nodejs and mongodb