Basic web application built with Django REST Framework and Angular2, for educational pourposes. It has a little more feature then the usual 'TODO like' examples.
Schema: Ticket <- User
- django admin panel
- CRUD operations (angular)
- jwt authentication
- related records management
- login management (angular)
- signup management (django + angular)
- router, interceptors, protected views (angular)
- admin panel (django)
- openapi 3.0 (swagger, redoc)
- input typehead (angular)
- angular bootstrap (responsive navbar ecc.)
- other angular features
sudo docker-compose up --build
# backend
python -m venv env
source env/bin/activate
sh backend/start.sh
# frontend
cd frontend/simpleticket
npm install
ng s
In shell setup you have 2 options for db:
- build up a postgres service with the same conf as in docker-compose (hostname:db and so on)
- change django settings to set back sqlite3
python manage.py spectacular --color --file schema.yml --validate
- minimal restyle
- further code polish
- fix time zone gap