Giter Club home page Giter Club logo

hotel_reservation's Introduction

Hotel Reservation System

Reservations: Can create reservations of types: Junior Suite: 15 units Single Suite: 20 units Double Suite: 30 units Triple Suite: 10 units Grand Suite: 10 units Penthouse: 1 units

Available for a day at a time using a calendar date:

{
    Reservation: {
        id: "",
        GuestName: "", 
        PhoneNumber: "",
        Date: 00/00/00,
        SuiteType: "",
        CardInfo: {
            CardNumber: 0000,
            Name: "",
            Exp: "",
            CSV: "",
        }
    }
}

Create Reservation: Create the Reservation Objects based on the range of dates given Then attempt to add the objects to the db Check that the current number of suites of type on day is not equal to the max available If user can book add all of the reservations and dates as supposed to else return an error Return to the user the server response: Error: 40X return the error in adding please try again etc. Success: 200 return to the user a reservation id: same as ID in the db

Search Reservations: Allow the user to search by id Will return the exact reservation hidding the CSV and Full Card Number Allow the user to search by Name and Phone Number and Date May return multiple reservations as its not the exact id

Delete Reservations From search click delete button To delete the user must provide the id and their CardNumber in full

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.