Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 2.22 KB

TASK.md

File metadata and controls

20 lines (20 loc) · 2.22 KB

Task assignment

Aim of this task is to create 'restaurant visit diary'. Our users like travel and they would like to write down their own reviews restaurants they have visited to know where to go next / to whom to recommend. It is therefore necessary to record the Restaurant and the Visit. At the Restaurant it is necessary to know the name, place, type (type of cuisine). The visit should records the date of the visit, the expense, a note (where the user can write down what he / she has given and other findings) and an evaluation (values ​​ranging from 1 to 5). The system should use DB (we use Postgresql), but the default SQLite will suffice. The project should contain a README, which will include steps on how to run the project. The system should use Django and djangorestframework packages.

Requirements

project launch (docker):

  • set Docker (or docker-compose) to run. I.e. create Dockerfile (and possibly docker-compose.yml) (django + ideally Postgresql)
  • Create a shell script for easy execution.
  • bonus: set django + docker for local startup and production startup (with env variables)

django rest framework

testing

  • suggest a way to run tests.
  • use buildin django unittest module and / or pousks
  • bonus_1: use fixtures in testing