Skip to content

renaism/aeon-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aeon API

API for Aeon Bot.

Requirements

  • Python >3.10
  • MongoDB >6.0.7

Usage

  • 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