Skip to content

Krishna Booking App is Hotel Management System where user can do login/signup , add hotel, book hotel , filter the hotel etc

Notifications You must be signed in to change notification settings

krishna102001/krishna-booking-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KRISHNA BOOKING APP

Overview

This repository contain the KRISHNA BOOKING APP Code build using the React.js for Frontend and Node.js for Backend.

Features

  • User can Login using a JWT
  • Filter Search Functionality
  • Functionality like Add hotel, Edit Hotel, Book Hotel
  • Stripe Payment Integration

Technology Used

  • React.js
  • Express.js
  • MongoDB
  • TailWindCSS

Getting Started

  1. Clone the repository and navigate to the directory:

    git clone https://github.com/krishna102001/krishna-booking-app.git

Frontend

  1. In terminal run the command:

    cd frontend
    npm i
  2. Create a .env files in root directory and add the following environment variables:

    VITE_API_BASE_URL=`http://localhost:4000`
    VITE_STRIPE_PUB_KEY="{Setup Your Public key of Stripe Payment}"
  3. Start the frontend server:

    npm run dev

    The frontend server should now be running on http://localhost:5173.

Backend

  1. In terminal run the command:

    cd backend
    npm i
  2. Create a .env files in root directory and add the following environment variables:

    MONGO_CONNECTION_STRING="{Your MongoDB driver Url}"
    JWT_SECRET_KEY="{Enter The Secret Key}"
    FRONTEND_URL=`http://localhost:5173`
    CLOUDINARY_CLOUD_NAM = "{Setup Cloudinary Name}"
    CLOUDINARY_API_KEY = "{Setup Cloudinary API Key}"
    CLOUDINARY_API_SECRET = "{Setup Cloudinary API Secret}"
    STRIPE_API_KE  = "{Setup STRIPE API Key}"
  3. Start the backend server:

    npm start

    The backend server should now be running on http://localhost:4000.

About

Krishna Booking App is Hotel Management System where user can do login/signup , add hotel, book hotel , filter the hotel etc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages