Skip to content

brian-kim31/DjangoRestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Rest Api (token Based Authentication)

This is a simple Register, login and logout RestAPI. Feel free to comsume the APIs fo your personal project.

Author

Brian Kiiru Kimani

Installations

The following command installs all the application requirements

pip install -r requirements.txt

Setup

Run https://github.com/brayokenya/DjangoRestAPI.git

or download the zip file from github.

After extracting the files,

  1. Navigate to the project folder

cd name_of_folder

  1. Creating a virtual environment

virtualenv virtual.

  1. Activating the virtual environment

source virtual/bin/activate.

  1. Running the application

python3 manage.py runserver

  1. Running tests

Use Postman to run test

Technologies used

  • Python3
  • Django
  • DjangoRest
  • Swagger
  • PSQL

User Stories

  • As a user, I can register

  • As a user, I can log in.

  • As a user, I can log out.

MIT License © 2020 Brian Kiiru

Collaborate

To collaborate, reach me on kiirubrian21@gmail.com

Releases

No releases published

Packages

No packages published

Languages