Skip to content

AliminIvan/restaurant-voting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting system for restaurants REST API (without frontend)

Description:

Voting system for deciding where to have lunch.

  • 2 types of users: admin and regular users
  • Admin can input a restaurant and it's lunch menu of the day (2-5 items usually, just a dish name and price)
  • Menu changes each day (admins do the updates)
  • Users can vote for a restaurant they want to have lunch at today
  • Only one vote counted per user
  • If user votes again the same day:
    • If it is before 11:00 we assume that he changed his mind.
    • If it is after 11:00 then it is too late, vote can't be changed.
  • Each restaurant provides a new menu each day.

  • Stack: JDK 21, Spring Boot 3.x, Lombok, H2, Caffeine Cache, SpringDoc OpenApi 2.x
  • Run: mvn spring-boot:run in root directory.

REST API documentation Credentials:

User:  [email protected] / password
Admin: [email protected] / admin
Guest: [email protected] / guest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages