Skip to content

pizzahutuk/tech-test-restaurant-booking

Repository files navigation

Restaurant Booking System

A restaurant owner has asked you to implement a booking system for their restaurant. Please implement the following requirements one by one.

Guidance

  • Keep it simple
    • Do not create API endpoints
    • Do not use a real database (hard-coded JavaScipt objects/arrays are fine)
    • Use simple functions and/or classes
  • Write tests as you go

Requirements

  1. A Customer should be able to book a seat.

  2. The Restaurant has a limited capacity and only has space for 30 seats.

  3. The Owner can see the amount of free seats available.

  4. The Owner can see the seat number of the next available seat.

  5. The Customer should be able to book a table rather than individual seats. Each table has two seats.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published