Microservice for product catalog in Bookstore. Microservice is a part of the Cloud-native application.
Since the microservice is built using FastAPI you need python and pip installed on your machine.
- Clone the repository
- Move to the project's root folder
- (OPTIONAL) Create virtual environment
python3 -m venv venv
- (OPTIONAL) Activate virtual environment
source venv/bin/activate
- Install required packages
pip install -r requirements.txt
To start the microservice you simply run: uvicorn main:app --reload
. The server is listening on port 8000 by default. The API documentation is located on /openapi
.