This project serves as a template for creating applications with a simple endpoint using FastAPI. It is designed to get you up and running with FastAPI with minimal setup.
Ensure you have the following installed:
- python 3.11
- Pipenv (You can find the installation guide here: Pipenv Documentation)
-
Set Up Virtual Environment and Install Dependencies
Use Pipenv to create a virtual environment and install the necessary dependencies:
pipenv install
-
Activate the Virtual Environment
To activate the virtual environment, run:
pipenv shell
-
Start the FastAPI Server
Launch the FastAPI server with uvicorn using the following command:
uvicorn main:app --reload