A template for new python microservices
app.py
(change microservice name and import endpoints fromresources
)Pipfile
andPipfile.lock
for new dependencies onlyschemes.py
for user endpoint requirements and responsesmodels/*
for database modelsresources/*
for user and microservice endpointstests/*
for unit tests- update microservice name and endpoints in
tests/test_app.py
- update microservice name in
.github/workflows/
When writing unit tests make sure to from mock.mock_loader import mock
before importing anything from models
or resources
.