djangular
djangular copied to clipboard
User authentication/login with Angular 4 and Django REST Framework JWT
Angular with Django REST Framework JWT
Integrating Angular (v4) with Django (v1.11), this project uses the concept of JSON web token based authentication for User session management. The project is still under development.
Stack
- Angular (4.3.1)
- Django (1.11.5)
To Run the project
pip install -r requirements.txtpython manage.py runserver
My djangular way of development
Open two terminals:
For angular
cd angular/npm install# one time installation of dependenciesng build -op=../backend/templates/angular/ -w
For Django
python manage.py runserver
Notes:
npm install angular2-cookie --save