REST API written in Python Flask using SQLAlchemy as the ORM with auto migration capabilities
- Download & install Python 3.6 or higher
- Download & install Pipenv
python -m pip install -U pip - Download & install NodeJS
- Install nodemon (use sudo if you in linux)
npm i -g nodemon# Change into the directory
cd connect-4-bot
# Install all required dependencies with
pipenv install pylint --dev
# Activate the project virtual environment
pipenv shell
# Create an local .env file and replace with the relevant values
cp .env.sample .envYou can also set the enviroment variables explicity (OPTIONAL)
PORT=9400
BUILD_ENV=development
DATABASE_URL=postgres://name:password@host:port/dbnameStart the app
python run.pyStart the app for developers
nodemon run.pyBug Function