A simple application created using Python, Django, Django REST Framework, Dj REST Auth & Vue (with webpack hot reload).
Development environment is set up via Docker using Docker Compose.
cd api
make build
make start
You should now be able to access the API running on http://0.0.0.0:8000. Visit admin panel at http://0.0.0.0:8000/admin/ to make sure it is accessible.
cd frontend
make build
make start
You should now be able to access the application running on http://localhost:8080.
For running the api tests, run the following command:
cd api
make test
For python various tools are used for linting:
First change directory to api
:
cd api
Use following commands to execute each of the linter:
make flake8
make isort
make black
or run the following command to run all linters:
make lint
See Makefile for more helpful commands.
Frontend linting is handled by eslint.
First change directory to frontend
:
cd frontend
then:
make eslint
or run the following command to run all linters:
make lint
See Makefile for more helpful commands.