This is application 'AutoRoll'. Here you can rent a car for your trip or a significant event.
Python Flask MySQL
Flask-SQLAlchemy Swagger/OpenAPI 3.0
pytest Coverage.py
GitHub
- Install all packages from 'requirements.txt'
- Activate virtual environment:
- (for Windows:) .venv\Scripts\activate
- Connect to a local database and run the server (if it isn`t running)
- Run command:
- alembic init alembic
- Customize the '__init__.py', 'alembic/env.py' and 'alembic.ini' files (by adding your local route)
- Run commands:
- alembic revision -m "add models" --autogenerate
- alembic upgrade head
- Check if you are connected to a database
- If you don`t have tables run commands:
- alembic revision --autogenerate
- alembic upgrade head
- Visit http://127.0.0.1:5000/