The aim of this project is to help accelerate the creation of an Elo System using Python, FastAPI and Streamlit.
Currently working for Python < 3.9, conversion to superior versions is straightforward.
- Currently working with FastAPI
- Basic functionality and endpoints already running
- Prepared for developing connection to databases
- Postman collection included for demonstration purposes
- Frontend in Streamlit connected to the API for user-friendly usage
- Install the requirements (proper environment with FastAPI and Uvicorn setup)
- Go to the app folder
cd backend/app - Run the server:
uvicorn main:app --reload - Access the endpoints via POST and GET requests to the server's URL.
- Go to the tests folder
cd backend/tests - Adjust the sys.path in the code to your main.py location
- Run pytest
- Make sure that streamlit is installed with the requirements
- Go to the frontend folder
cd frontend - Run the frontend:
streamlit run frontend.py