Skip to content

Internal service for employees, which helps them to make a decision on lunch place.

Notifications You must be signed in to change notification settings

MindaugasN/Restaurant-API-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant API

About

Internal service for employees which help them to make a decision on lunch place. Each restaurant will be uploading menus using the system every day over API and employees will vote for menu before leaving for lunch.

URLs

(Restaurant, '/restaurants') POST
(RestaurantList, '/restaurants/int:id') GET
(Employee, '/employees') POST
(EmployeeList, '/employees/int:id') GET
(Menu, '/restaurants/menus') POST
(TodayMenu, '/menus') GET
(GiveVote, '/menus/int:id/votes') PUT
(Vote, '/votes') GET

Automated tests (python mangage.py test)
Logging (app.log)

Installation

pip install Flask
pip install Flask-SQLAlchemy
pip install Flask-RESTful

python mangage.py test
python run.py

About

Internal service for employees, which helps them to make a decision on lunch place.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages