technical assessment
License: | MIT |
---|
Moved to settings.
- list all plants
GET /api/plants/
Parameters
PSTATABB: state code
limit: number or results limit
- get plant details
GET /api/plants/{id}
- list all states
/api/states/
- get state details
GET /api/state/{id}
after setting up dev environnement, you will need to migrate and populate the database, use this commands:
$ python manage.py migrate $ python manage.py populate_db
Running type checks with mypy:
$ mypy egrid
To run the tests, check your test coverage, and generate an HTML coverage report:
$ coverage run -m pytest $ coverage html $ open htmlcov/index.html
$ pytest
Moved to Live reloading and SASS compilation.
The following details how to deploy this application.
See detailed cookiecutter-django Heroku documentation.
See detailed cookiecutter-django Docker documentation.