Skip to content

Microservice responsible for authentication and authorization aspects.

Notifications You must be signed in to change notification settings

PI-PropertEase/UserService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserService

Microservice responsible for authentication and authorization aspects.

Build Image

sudo docker build -t my-postgres-db ./ ;

Run Image

sudo docker run --env-file .env -d --name my-postgresdb-container -p 5432:5432 my-postgres-db ;

PSQL (Postgres Command Line Interface)

sudo docker exec -it container_number /bin/bash ;
psql -d user_db -U propertease ;

Pre-requirements

sudo apt-get install libpq-dev python-dev

Setup venv

python -m venv venv;
source venv/bin/activate;
pip install -r requirements;

Run FastAPI

source venv/bin/activate;
uvicorn UserService.main:app --reload;

About

Microservice responsible for authentication and authorization aspects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •