Skip to content

mhatrekanchan01/restaurant-reservation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thinkful Capstone: Restaurant Reservation System

Front-end Live at: https://restaurant-reservation-zijp.vercel.app/search

Back-end Live at: https://restaurant-reservation-rosy.vercel.app/tables

A full-stack app built using:

HTML
CSS
JavaScript
React
Express
Knex
PostgreSQL API

Available API Endpoints

Screenshot 2023-05-29 at 11 22 57 AM

App Functionality

Dashboard

Defaults to displaying a list of booked (or seated) reservations for the current date.
Navigation buttons: Previous Day, Today, & Next Day are available for changing the date displayed by the dashboard.
All tables (free or occupied) are also diplayed here.

Screenshot 2023-05-29 at 11 24 44 AM

New Reservation

1.Fill out the form with the reservation information and click submit.

Screenshot 2023-05-29 at 11 27 06 AM

New Table

1.Fill out the form with the table information and click submit.

Screenshot 2023-05-29 at 11 35 36 AM

Seating a Reservation

1.Click seat on the reservation you'd like to seat.
Screenshot 2023-05-29 at 11 49 41 AM

2.Select a table from the drop-down menu.
3.Click submit to seat the reservation at the selected table.

Screenshot 2023-05-29 at 11 51 59 AM

4.Once a reservation is seated:
i.The reservation status will change from booked to seated.
ii.The table status will change from free to occupied

Screenshot 2023-05-29 at 11 55 37 AM Screenshot 2023-05-29 at 11 56 38 AM

Finishing a Reservation

1.Click finish on the table that has finished.

Screenshot 2023-05-29 at 12 01 23 PM Screenshot 2023-05-29 at 12 02 50 PM

2.Click OK on the confirmation window that pops-up.
3.Table status is now free to seat other reservations
Note: finished reservations no longer display in the dashboard.

Editing a Reservation

1.Click edit on the reservation you'd like to edit.

Screenshot 2023-05-29 at 12 05 49 PM

2.Edit any of the reservation information as needed.
3.Click submit to save the updated reservation information.

Screenshot 2023-05-29 at 12 07 22 PM

Cancelling a Reservation

1.Click cancel on the reservation you'd like to cancel.

Screenshot 2023-05-29 at 12 08 21 PM

2.Click OK on the confirmation window that pops-up.

Screenshot 2023-05-29 at 12 10 13 PM

Note: cancelled reservations no longer display in the dashboard.

Installation

1.Fork and clone this repository.
2.Run cp ./back-end/.env.sample ./back-end/.env.
3.Update the ./back-end/.env file with the connection URL's to your database instance.
4.Run cp ./front-end/.env.sample ./front-end/.env.
5.Include your backend connection within ./front-end/.env (defaults to http://localhost:5000).
6.Run npm install to install project dependencies.
7.Run npm run start to start the server.
8.If you have trouble getting the server to run, reach out for assistance.

About

Restaurant reservation system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.4%
  • HTML 1.5%
  • CSS 0.1%