API for Aeon Bot.
- Python >3.10
- MongoDB >6.0.7
- Clone the repository
git clone https://github.com/renaism/aeon-api.git &&\
cd aeon-api
- Create and activate python virtual environment
python -m venv venv &&\
source venv/bin/activate
- Install requirements
pip install -r requirements.txt
- Configure environment variables
touch .env
# .env
# Insert your API key secret here
API_KEY_SECRET=XXX
# Insert the database credentials here
DB_HOST=127.0.0.1:27017
DB_NAME=dbname
DB_USERNAME=username
DB_PASSWORD=xxx
- Start the API
python main.py