Skip to content

vutran221097/booking-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Booking App

Booking App

A simple booking hotel website. You can view all hotel by Type or City and Rating. Login and place order for your vacation. When you come to Admin page, you can manage hotel and room and view all transactions. The demo apps was deployed on Render and Firebase.

Technologies

Technologies used: MongoDB, Express, ReactJS, NodeJS, React Router, Redux toolkit.

Launch demo

*Note: Please open link back-end first.

  • ClientApp (Firebase) : Link
  • AdminApp (Firebase) : Link
  • Back-end (Render) : Link
  • Client Account: account: user , password: 123456
  • Admin Account: account: admin , password: 123456

Project Breakdown

Server

  • Directory: Server
  • Features:
    • Building api server (MVC model) - CRUD operations
    • Generating schema models
    • JWT Authentication

Client App

  • Directory: Client
  • Features:
    • Home page, Login/sign up page
    • Hotel page by type, Hotel page by city
    • Booking page, Transaction page,Checkout page
    • Disable room booked
    • Search hotel by name and room available
    • View all transactions history

Admin App

  • Directory: Admin
  • Features:
    • Login page - authenticate for role admin
    • Dashboard to summarize data
    • Show all transactions
    • Create/Update/Delete hotel/room
    • Cancel delete hotel/room if it booked
    • Update transaction status every time

Node version

  • Node -v 18.17.1
  • Npm -v 9.6.7

Source code

Clone or download the Booking App from source code

Client-side usage(PORT: 3000)

$ yarn # or npm i    // npm install packages
$ npm start       // run it locally

Admin usage(PORT: 3001)

$ yarn # or npm i    // npm install packages
$ npm start       // run it locally

Server-side usage(PORT: 5000)

$ npm i       // npm install packages
$ npm start // run it locally

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published