Giter VIP home page Giter VIP logo

hotelmanagementsystem-nodejs's Introduction

Hotel Management System

An ready-to-deploy hotel management website written in Node.js, utilizing MongoDB as the database, available as a Docker container.

API Usage

AUTH

LOGIN

  GET /login
  • Login form page
  POST /login
Param Type Explanation
email string Required. User email.
password string Required. User password.

REGISTER

  GET /register
  • Register form page
  POST /register
Param Type Explanation
email string Required. User email.
name string Required. Username.
password string Required. User password.
repassword string Required. User repassword.

FORGET PASSWORD

  GET /forgotpassword
  • Forgot password form page
  POST /forgotpassword
Param Type Explanation
email string Required. User email.
name string Required. Username.
password string Required. User password.
repassword string Required. User repassword.

RESET PASSWORD

  GET /resetpassword/:id/:token
  • Reset password email link token generate
  GET /resetpassword
  • Reset password page
  POST /resetpassword
Param Type Explanation
id string Required. User MongoDB object id.

LOGOUT

  GET /logout

USER

Main Page

  POST /rooms
  • Show all rooms

Rooms Page

  GET /rooms/:id
  • Get specific room
Param Type Explanation
id string Required. Room MongoDB object id.

Rooms Page

  GET /rooms/book/:id
  • Booking room for user
Param Type Explanation
id string Required. Room MongoDB object id.

Payment Page

  GET /rooms/payment/:id
  • Payment page for room
Param Type Explanation
id string Required. Room MongoDB object id.

User Profile Page

  GET /rooms/profile/user
  • Get user profile page

User Profile Edit Page

  GET /rooms/profile/edit
  • Get user profile edit page

User Profile Edit

  POST /rooms/profile/user
  • Edit user profile
Param Type Explanation
name string Required. Username.
email string Required. Email.
address string Required. Address.
tc string Required. Government ID NO.
phone string Required. Phone No.

Technologies

Client: EJS, HTML, CSS

Server: Node, Express, Docker

Database: MongoDB

Developer

Support

Feel free to send me mail for support: [email protected]

hotelmanagementsystem-nodejs's People

Contributors

nurettinberkaydemirkol avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.