/hotel_management

Admin portal for handling hotle mangement

Primary LanguageTypeScript

Hotel Management System

This is a hotel management project consisting of both a backend and frontend. The backend uses TypeScript and Node.js, while the frontend is built with React. Screenshot 2023-03-11 at 11 15 23

Screenshot 2023-03-11 at 11 15 21

Backend

Deployed on render : https://hotle-backend.onrender.com

Getting started

  1. Clone the repository
  2. Navigate to the backend directory
  3. Run yarn install to install dependencies
  4. Create a .env file and fill in the necessary environment variables (see .env.example)
  5. Run yarn dev to start the development server

Available Scripts

In the backend directory, you can run:

yarn build

Builds the app for production to the dist folder.

yarn dev

Starts the development server with hot-reloading.

yarn prod

Starts the server in production mode.

Frontend

Getting started

  1. Navigate to the frontend directory
  2. Run yarn install to install dependencies
  3. Run yarn start to start the development server

Available Scripts

In the frontend directory, you can run:

yarn start

Runs the app in development mode.

yarn build

Builds the app for production to the build folder.

yarn test

Launches the test runner in interactive watch mode.

Technologies Used

Backend

  • TypeScript
  • Node.js
  • Express
  • MongoDB
  • Mongoose
  • Helmet
  • Cors
  • Body-parser
  • Lodash
  • Moment
  • Nodemailer

Frontend

  • React
  • TypeScript
  • React Router
  • React Datepicker
  • TailwindCSS
  • Interact.js
  • Date-fns
  • Axios