Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 start

Usage:
------
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