Microservice of Accounts for Mechanize (API).
- Read the architecture project;
- Database name is mechanize_accounts;
- Prefix in routes should be /api/accounts.
Create a .env
file with DB_ENV
, DB_NAME
, DB_USER
, DB_PASSWORD
, DB_HOST
, DB_PORT
, DB_NAME_REMOTE
, DB_USER_REMOTE
, DB_PASSWORD_REMOTE
, DB_HOST_REMOTE
, DB_PORT_REMOTE
, CRYPTOCODE_PASSWORD
and CLIENT_ID
variables to work.
Use pip install -r requirements.txt
to install dependencies.
Run python -m app
to start project.