Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shivam-sharma7/hotel-booking-app
- Owner: shivam-sharma7
- Created: 2023-12-29T08:53:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-29T16:42:00.000Z (8 months ago)
- Last Synced: 2024-10-03T09:38:18.502Z (4 months ago)
- Topics: expressjs, hotel-booking, mongodb, node-js, reactjs, stripe
- Language: TypeScript
- Homepage: https://hotel-booking-app-rnfq.onrender.com
- Size: 651 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)