This is a sample FastAPI project that demonstrates how to set up a simple FastAPI web server that serves an HTML page.
git clone https://github.com/cyberkatze/sample_api.git
Create a new Conda environment based on the environment.yml
file.
conda env create -f environment.yml
Activate the newly created Conda environment.
conda activate sample_api
Run the FastAPI server using Uvicorn.
uvicorn app:app --reload
Open your web browser and navigate to http://127.0.0.1:8000/
to see the HTML page served by FastAPI.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.