Skip to content

Riafka/graduation_boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant Voting System

Voting system for deciding where to have lunch (without frontend).

  • 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 on which restaurant they want to have lunch at
  • 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.

Tech stack: Maven, Spring Boot 2.6.1, Spring Security, Spring Data JPA, REST (Jackson), JDK8/17,
Stream API, HSQLDB (in memory), JUnit5, Swagger (API)

How to init project

You could run project by Git CMD or Linux Terminal:
cd [project_folder]
mvn clean install -DskipTests
java -jar target/graduation-0.0.1-SNAPSHOT.jar

Login information:

Swagger REST API

About

Выпускной проект topjava

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages