An open API service indexing awesome lists of open source software.

https://github.com/alotab/dockerize-stackoverflow-fastapi

This is python application that leverage on Stackoverflow api to get all questions and answers on Stackoveflow.
https://github.com/alotab/dockerize-stackoverflow-fastapi

Last synced: 10 months ago
JSON representation

This is python application that leverage on Stackoverflow api to get all questions and answers on Stackoveflow.

Awesome Lists containing this project

README

          

[![Python application test with Github Actions](https://github.com/Alotab/dockerize-stackoverflow-fastapi/actions/workflows/main.yml/badge.svg)](https://github.com/Alotab/dockerize-stackoverflow-fastapi/actions/workflows/main.yml)

# dockerize-stackoverflow-fastapi
This is a python application that leverages on Stackoverflow api to get all questions and answers on Stackoveflow.

## Project scaffold

* Makefile
* requirements.txt
* source code files

## Command Line Tool
* add fire to your requirments.txt
* create a new file `touch stackquestions.py`
* import the logic function to this file
* import fire
* Make the file executable `chmod +x stackquestions.py`
* Read the documentation `./stackquestions.py --help`
* Run the file ` ./stackquestions.py --name 'python' `
<<<<<<< HEAD

## Move to Production
* Build Dockerfile to containerize it
* Build Web app `FastAPI`
* Push to Cloud `AWS Cloud 9` - `App runner`
=======
>>>>>>> 3e8005847253401432147e8dcf2e81d14cb6685e