Skip to content

ViraMaximets/REST-API-Flask

Repository files navigation

AutoRoll

This is application 'AutoRoll'. Here you can rent a car for your trip or a significant event.

Tools and Technologies

Core

Python Flask MySQL

Extensions

Flask-SQLAlchemy Swagger/OpenAPI 3.0

Testing and Linting

pytest Coverage.py

Services

GitHub

FIRST run

  1. Install all packages from 'requirements.txt'
  2. Activate virtual environment:
  • (for Windows:) .venv\Scripts\activate
  1. Connect to a local database and run the server (if it isn`t running)
  2. Run command:
  • alembic init alembic
  1. Customize the '__init__.py', 'alembic/env.py' and 'alembic.ini' files (by adding your local route)
  2. Run commands:
  • alembic revision -m "add models" --autogenerate
  • alembic upgrade head

START

  1. Check if you are connected to a database
  2. If you don`t have tables run commands:
  • alembic revision --autogenerate
  • alembic upgrade head
  1. Visit http://127.0.0.1:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published