Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



django-elm-auth-with-jwt is an example of how you can implement JSON Web Token (JWT) authentication using django & django rest framework as a backend and elm as a frontend.

How to run

Clone the repository:

➜ git clone

Create and activate virtualenv:

➜  virtualenv -p python3 .venv
➜  source .venv/bin/activate

Install dependencies:

../backend  ➜  pip install -r requirements.txt
../frontend ➜  elm-package install

Run migrations:

../backend ➜  python makemigrations
../backend ➜  python migrate

Start up backend:

../backend ➜  python runserver

Start up frontend using elm-live:

../frontend ➜  elm-live --port=3000 --output=elm.js src/Main.elm --pushstate --open --debug

We are done.

You can’t perform that action at this time.