Minimal FastAPI application with hello and goodbye endpoints.
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
uvicorn main:app --reload
-
Access the API:
- API docs: http://localhost:8000/docs
- Hello endpoint: http://localhost:8000/hello
- Goodbye endpoint: http://localhost:8000/goodbye