This is a booking website built using the MERN (MongoDB, Express.js, React.js, Node.js) stack along with Tailwind CSS and TypeScript.
This web application allows users to browse through available bookings, make reservations, and manage their bookings. It provides a user-friendly interface for both customers and administrators to interact with the booking system.
- MongoDB: NoSQL database for storing user data, bookings, and other relevant information.
- Express.js: Backend framework for building RESTful APIs and handling HTTP requests.
- React.js: Frontend library for building user interfaces and managing state.
- Node.js: JavaScript runtime environment for executing server-side code.
- Tailwind CSS: Utility-first CSS framework for designing modern and responsive UIs.
- TypeScript: Superset of JavaScript that adds static typing to the language, providing improved code quality and developer productivity.
To get started with this project, follow the steps below:
- Clone the repository: git clone https://github.com/Divalsehgal/holiday.git
- Navigate to the frontend directory:
cd frontend
- Install frontend dependencies:
yarn add
- Start the frontend development server:
yarn run dev
- Navigate to the backend directory:
cd backend
- Install backend dependencies:
yarn add
- Set up environment variables:
- Create a
.env
file in the backend directory. - Define variables like
MONGODB_URI
,JWT_SECRET
, etc.
- Create a
- Start the backend development server:
yarn run dev