Django showcase - playground
October 27, 2022 ยท View on GitHub
Showcasing django features
and
different flavors of frontends:
Started with next.js, but weird concept with frontend providing the application server
So, starting of with React first
Backend
Build with poetry, so poetry needs to be installed locally
Installation
$ poetry install
Development mode
$ poetry run python backend\manage.py runserver
Testing
$ poetry run pytest backend\tests
Frontend
Installation
$ npm install
Development mode
$ npm start
Building for production
$ npm run build
Testing
$ npm test -- --watchAll=false
CD/CI
For continous deployment and integration Github actions are used.
The workflow configuration can be found in the root under:
.github/workflows
directory