django-rest-framework vue boilerplate with JWT authentication
docker-compose up --build
- Auth user model
- Environment based project settings: make use of
DJANGO_ENV
environment variable to use different settings -> ref - JWT based authentication: Authorization header expects as
Token <access_token>
, feel free to change here - Endpoints
- User/Account model
/v1/account/<username>/
: retrieve user data/v1/account/<username>/update/
: update user data
- Token
/v1/account/token/both/
: authenticate withusername
andpassword
, obtain token pair i.e.access_token
andrefresh_token
/v1/account/token/refresh/
: refresh access_token with refresh_token
- User/Account model
- Testing and code coverage report with
pytest
- Style guide enforcement with
flake8
- Dockerized
- Secure authentication with
axios
interceptor - Sign In
- Sign Out
- Profile update
- Automatic pwa update notification via service-worker. Refs - register-service-worker, update-component, mixin
- Bootstrap theming
- Built-in production server
- Dockerized