Skip to content

A FastAPI project for authenticate user with cookie and JWT

Notifications You must be signed in to change notification settings

arminshfatemi/fastapi_cookie_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookie base authenticate with FastAPI

Overview

In this project i'm trying to make a pure jwt authentication in fastapi and mongodb .

Purpose of this project is just for training and there is alot of packages to do jwt authentication or other things i have done here

How to Run

  1. First clone the project and cd to project directory
git clone <url of the project>
cd Password-generator
  1. Make a python virtual env
python3 -m venv <name of your venv>
  1. Activate your venv

on linux

source ./venv/bin/activate

on windows

venv/bin/activate
  1. Install the python packages
pip install -r requirements.txt
  1. Run the file
uvicorn main:app --reload

Releases

No releases published

Packages

No packages published

Languages