Building a fast api microservices and deploying the application using github actions and aws codebuild
- Create a Python Virtual Environment
python3 -m venv ~/.venv
orvirtualenv ~/.venv
and Activate source venv with commandsource .venv/bin/activate
- Create scaffold empty files:
Makefile
,requirements.txt
,main.py
,Dockerfile
,app/__init__.py
andapp/core.py
- Populate
Makefile
- Steps added for Continious Integration(github workflows) i.e code formatting, lint errors
- Build CLI tool using python fire library
./cli-fire.py --help
to test wiki logic - Add Fast API and uvicorn library in
requirement.txt
and api logic inmain.py
- Add
textblob
NLP library to process textal data, using it add noun phrase extraction task.