Skip to content

webdevankit07/hotel-booking-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 About Me

Hi there I'm ANKIT YADAV a full stack developer with Reactjs, TypeScript, Nodejs, MongoDB

Travel Nest - Hotel Booking MERN Website

"Travel Nest " is a MERN stack hotel booking website where React with TypeScript is used for the frontend, Node.js for the backend, and MongoDB for the database.

Tech Stack

Client: React, TypeScript, TailwindCSS

Server: Node, Express

Database: MongoDB, Mongoose

Optimizations

  • In this project i am using React with TypeScript, React Form Hook and React Query(TanStack Query).

  • Now days in React, React Hook Form simplifies form handling and validation , reducing boilerplate code.

  • React Query streamlines data fetching and caching, optimizing network requests. Together, they enhance development efficiency and improve application performance, providing a seamless user experience in React applications.

Run Locally

Clone the project

  git clone https://github.com/webdevankit07/hotel-booking-app.git

Go to the project directory

  cd hotel-booking-app

Go to the Frontend directory

  cd ./Client/

Install Frontend dependencies

  npm install

Start the Frontend server

  npm run dev

Go to the Backend directory

  cd ./Backend/

Install Backend dependencies

  npm install

Start the Backend server

  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Frontend ENV:

VITE_API_BASE_SERVER_URL

VITE_STRIPE_PUB_KEY

Backend ENV:

NODE_ENV

FRONTEND_URL

DATABASE_URL

ACCESS_TOKEN_SECRET

REFRESH_TOKEN_SECRET

CLOUDINARY_CLOUD_NAME

CLOUDINARY_API_KEY

CLOUDINARY_API_SECRET

STRIPE_API_KEY

🔗 Social Media Links

linkedin twitter

Authors

Releases

No releases published

Packages

 
 
 

Contributors