A very small and simple back-end project that serve random generated test cases for 2110101's HW12 2022/2 via REST API by FastAPI.
I'm not sure if my teacher will allow me to share the home work file or description with an outsider. So I'm not going to do it, but you can still read my homework solution at utils/func.py to get a sense of what homework is about.
- Clone this repo
git clone https://github.com/OnFireByte/comprog-hw12-server
- Install required modules
pip install -r requirements.txt
FastAPI's documentation recommends using Uvicorn for development and Gunicorn for production; for additional information, see FastAPI's documentation.