Python implementation of some basic API for candidates and administrators.
- Configuration is located at
app/main/config.py- Currently using
sqliteas database, because of easy setup and portability.
- Currently using
- By default when app is run on
localhost:5000is available full swagger documentation.
For database interaction and migrations are used SQLAlchemy and Alembic.
- To apply migrations run:
python manage.py db upgrade
Server is run with python manage.py run
To generate postman.json collection dump user python manage.py postman
Everything regarding project is run through manage.py. For more info type python manage.py --help each subcommand has its own help as well.