Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davideferre/django-ember-jwt-tutorial
Sample Ember.js client app with Django REST API backend.
https://github.com/davideferre/django-ember-jwt-tutorial
django ember ember-tutorial hacktoberfest hacktoberfest2020 jwt python python3
Last synced: 3 months ago
JSON representation
Sample Ember.js client app with Django REST API backend.
- Host: GitHub
- URL: https://github.com/davideferre/django-ember-jwt-tutorial
- Owner: davideferre
- License: mit
- Created: 2017-03-24T16:22:06.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T19:40:02.000Z (over 3 years ago)
- Last Synced: 2024-01-10T16:50:31.656Z (about 1 year ago)
- Topics: django, ember, ember-tutorial, hacktoberfest, hacktoberfest2020, jwt, python, python3
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Django - Ember.js tutorial for using JSON web token (JWT) authentication
======================================================================A sample [Ember.js](https://emberjs.com/) client app with registration and login routes and [Django](https://www.djangoproject.com/) REST API backend server made with [Django REST framework](http://www.django-rest-framework.org/).
Installation:
-------------
$ virtualenv --python=$(which python3) venv
$ source venv/bin/activate
$ git clone https://github.com/davideferre/django-ember-jwt-tutorial.git
$ cd django-ember-jwt-tutorial
$ pip install -r requirements.txt
$ cd server
$ python3 manage.py migrate
$ python3 manage.py createsuperuser
$ python3 manage.py runserver_In a separate shell:_
$ cd client
$ npm install
$ npm startUsage:
------
Run a browser and you can find the front-end app on http://localhost:4200 and the REST API server on http://localhost:8000 with admin dashboard on http://localhost:8000/admin