Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shivam-sharma7/hotel-booking-app

This is a Hotel Booking Web App
https://github.com/shivam-sharma7/hotel-booking-app

expressjs hotel-booking mongodb node-js reactjs stripe

Last synced: about 1 month ago
JSON representation

This is a Hotel Booking Web App

Awesome Lists containing this project

README

        

## Hotel Booking
This is a full stack Hotel Booking web app

## Tech stack used









## Set up backend
You need to cretae a `.env` file in backend directory and follow the [default.env](./default.env) for example.

Clone the project
```bash
git clone [email protected]:shivam-sharma7/hotel-booking-app.git
````
Navigate to backend directory
```bash
cd backend
```
install dependencies
```bash
npm install
```
run start command
```
npm run dev
```

## Set up frontend
You need to cretae a `.env` file in frontend directory and add the following to fetch data.
```
VITE_API_BASE_URL=http://localhost:5000
```
Navigate to frontend directory
```bash
cd frontend
```
install dependencies
```bash
npm install
```
run dev cmd
```
npm run dev
```
navigate to [localhost:3000](http://localhost:3000)