Giter VIP home page Giter VIP logo

drf-auth's Introduction

LAB - Class 33 DRF-Auth

Project: DRF-Auth
Author: Benjamin Carter
Links and Resources

Setup

python -m venv .venv 
python .venv\Scripts\activate
pip install django
django-admin startproject ______
python manage.py migrate
python manage.py runserver
python manage.py startapp ______
python manage.py makemigrations _______
python manage.py migrate
python manage.py createsuperuser
Username: ________
password: ________
python manage.py runserver

How to User

Once the docker container is created and running, create a superuser, and access the /api/token/ endpoint
Here you will be prompted to login, use your new superuser credentials to receive a access token. / Now change your endpoint to /api/refresh/ and enter your refresh token. You will receive an access token.

DATABASE_URL - URL to the running Postgres instance/db
How to initialize/run your application (where applicable)
e.g. python main.py \

How to use your library (where applicable)

Tests

python manage.py test How do you run tests?
python manage.py test
Any tests of note?
Describe any tests that you did not complete, skipped, etc

drf-auth's People

Contributors

motobenny avatar

Watchers

 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.