Skip to content

BIT-IdeaFactory/GastroMS--backend

Repository files navigation

GastroMS

New Features!

  • "localhost:9000/AllFoodplacesWithOpenHours" gives you JSON with all hours places for each foodplace. Example:
[{"name":"lua","hours":[{"day":"tuesday","start":"11:00:00","end":"20:00:00"},{"day":"wednesday","start":"12:00:00","end":"20:00:00"},...,{"day":"monday","start":"10:00:00","end":"null"}]},{"name":"awiteks","hours":[{"day":"monday","start":"null","end":"null"},...,,{"day":"sunday","start":"12:00:00","end":"13:00:00"}]}]

Start application

  • Create databse with postgresql and give it a name "FoodPlaceApp". Next create a user "postgres" and give they password "123" (See conf/application.conf)
  • With pgAdmin load schema and example data from database/database.sql)
  • Start application with sbt (it will take A LOT OF TIME 😭 )
  • If there are any errors try change version of Java to 1.8 or/and sbt to 0.13.17

How to use sbt

  • install sbt
  • go to the directory with project
  • in terminal write 'sbt' and later write 'run'
  • Have fun!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages