Code Monkey home page Code Monkey logo

djangoangularjwt's Introduction

DjangoAngularJWT

This project is the example of the JWT usage with DRF and Angular In frontend/angular, git submodule and it's the angular part. For quick start, please see the Getting Started section. I made simple user auth, user register, login and post microblog.

Packages

  • Django 2.1.1
  • DjangoRestFramework
  • DjangoCorsHeader
  • DjangoRestFramework-simpleJWT
  • Angular 8.1.1
  • Angular-jwt
  • Others

Getting Started

  1. Clone the project (You should use --recursive to download submodules, for this project it's angular project)
$ git clone --recursive https://github.com/MarlonJD/DjangoAngularJWT.git
  1. Go to project folder
$ cd DjangoAngularJWT
  1. Create Python virtual env, (wait a little bit)
$ python -m venv venv
  1. Activate virtual env for python. (you should see (venv) prefix on your terminal)
$ source venv/bin/activate
  1. Install the packages needs.
$ pip install -r requirements.txt
  1. Migrate the Django for database etc.
$ python manage.py migrate
  1. And Django is ready to use. Start server on 8000 port. You can see the website on http://127.0.0.1:8000
$ python manage.py runserver

Angular the Front-Side

Please see the Angular Project.

djangoangularjwt's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.