Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this repository for?

This is the simple auth service developed in Python using Flask framework. There are 2 major components to this:

  • Flask App: REST APIs

How do I get set up?

Local

Create & Activate a Virtual Environment

sudo pip install virtualenv
virtualenv ~/Projects/venv/authservice-env -p python3.8.3
source ~/Projects/venv/authservice-env/bin/activate

Installing Requirements

pip install -r requirements.txt

Start the Flask Application

python app/flask_app.py

Local Docker

docker-compose -f build
docker-compose up

How to run tests

Install The App as a python package

pip install -e .

Run the Tests

pytest

Get the coverage Report

coverage run -m pytest
coverage report

About

Flask based simple auth service. This application takes username/password and returns jwt token for authentication purpose.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages