Technologies involved include:
- Flask
- SQLAlchemy
- Marshmallow
- MySQL
- React
- React-Router
- Redux
Ensure you have mysql
plus command line tools setup:
mysql
mysql> CREATE DATABASE my_db_name;
mysql> \q
cd src
python manage.py db init
python manage.py db migrate
python manage.py db upgrade
I highly recommend autoenv
.
The required environment variables for this API are the following:
export DB_USERNAME=CHANGE_ME
export DB_PASSWORD=CHANGE_ME
export DB_HOST=localhost
export DB_NAME=my_db_name
export APP_SETTINGS=config.CHANGE_ME