Skip to content

elizabethfrerichs/restaraunt-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capstone: Restaurant Reservation System

This is an app designed to aide restaurants in managing and seating reservations on location. The user can view the reservations for each day from the dashboard. From there, the user can seat, cancel, and edit reservations. Additionally, the user can manage the status of the tables from the dashboard as well by finishing a table when it is ready for new guests. On the search page, a user can look up reservations by partial phone numbers regardless of the date. When Seating a table, the user is required to select a table which is then verified for availability and capacity. Another option available to the user is to create additional reservations and tables in which all input is validated.


Link

Live page


Technologies

  • PostgreSQL
  • ElephantSQL
  • Knex
  • Node.js
  • Express
  • React
  • Javascript
  • Bootstrap
  • CSS
  • HTML */

API Documentaion

Verb URL Action
GET /reservations list reservations
GET /reservations?date=XXXX-XX-XX list reservations for date
GET /reservations?mobile_number=XXX-XXX-XXXX list reservations for phone number
POST /reservations create new reservation
GET /reservations/{reservationId} find reservation by Id
PUT /reservations/{reservationId} update reservation by Id
PUT /reservations/{reservationId}/status update status of reservation
GET /tables list tables
POST /tables create new table
PUT /tables/{tableId}/seat updates status of table and reservation
DELETE /tables/{tableId}/seat updates status of table and reservation

Installation

  1. Fork and clone this repository.
  2. Run npm install to install project dependencies.
  3. Run npm run start:dev to start your server in development mode.

If you have trouble getting the server to run, reach out for assistance.

Screenshots

/dashboard

dashboard

/reservations/new

new reservation

/reservations/{resId}/seat seat reservation

After seating a resevation, the status of both the reservation and table update

after seating reservation

When finishing a reservation, the table status is set to free and the reservation is removed from the dashboard

finishing reservation

after finishing table

/search

search for reservation

/tables/new

new table

About

An app for managing restaurant reservations and tables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors