This repository contains the backend (API) and frontend (Client) for a Hotel Booking MERN (MongoDB, Express.js, React.js, Node.js) stack project.
- Node.js installed
- Navigate to the
api
folder. - Run
npm install
to install dependencies. - Create a
.env
file with MongoDB connection string (MONGODB_URI
). - Run
npm run dev
to start the API server.
- Node.js installed
- Navigate to the
client
folder. - Run
npm install
to install dependencies. - Run
npm run dev
to start the React development server.