This project is the assignement for Akeneo. You will find a webapp where you can upload an excel file, with the list of the participants and their blacklist. It will generate a draw for the secret santa.
You can find an example of excel file in data
.
- Python 3.11 or later
- Docker (if you prefer running in a container)
-
Clone the Repository:
git clone https://github.com/End2EndAI/akeneo-assignement.git cd akeneo-assignement
-
Install Dependencies:
conda create -n akeneo_env python=3.11 pip install -r requirements.txt
You can run the application in two main ways:
-
Run with Python locally:
python main.py
This will start the FastAPI server, and you can access the API at
http://127.0.0.1:8000
. -
Deploy the API Using Docker:
You can use the Dockerfile from the repo to deploy the API using Docker.
docker build -t akeneo-app . docker run -p 8000:8000 akeneo-app
Tests for this application are located in the /test
folder. To run the tests, use:
pytest
The core functionalities of the app are located in the /src/functions.py
file.