Skip to content

PI-PropertEase/PropertyService

Repository files navigation

PropertyService

Microservice responsible for storing and providing all information relative to a property.

Build Image

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

Run Image

sudo docker run -d --name my-mongo-container -p 27017:27017 my-mongo-db ;

PSQL (Postgres Command Line Interface)

sudo docker exec -it container_number /bin/bash ;
mongosh;

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 PropertyService.main:app --reload;

About

Microservice responsible for storing and providing all information relative to a property.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5