Skip to content

hcam05/litho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Litho Reservation App

A Simple reservation recording system.

Getting Started

  • Clone Repo
  • Install Dependencies - yarn install
  • Run Mongod and Mongo
  • Run the App - yarn start

Routes

  • GET /reservations - returns list of all reservations
  • POST /reservation - save a reservation
  • GET /reservations/ID - return reservation object by ID
  • GET /reservations?hotelName=X&arrivalDate=Y&departureDate=Z – Returns all reservations that match (date format should be YY-MM-DD)

User Interface

Once app is running. Create your reservation at localhost:3000

ui

Query your reservations through GraphiQL localhost:3000/graphiql

graphiql

Built With

  • React - A declarative, efficient, and flexible JavaScript library for building user interfaces.
  • Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
  • GraphQL - GraphQL is a query language and execution engine tied to any backend service.
  • Apollo GraphQL - A community building flexible open source tools for GraphQL
  • Express - Fast, unopinionated, minimalist web framework for Node.js

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Simple Reservation Recording Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published