It is back-end API application for blog using Flask. I implemented base CRUD operations, data validation, interaction with Postgres by SQLAlchemy, migrations.
- Python
- Flask
- Flask-Pydantic
- Flask-SQLAlchemy
- REST
- PostgreSQL
- Docker
- Alembic
- Install Docker on your system
- Open terminal
- Enter:
git clone https://github.com/Tireon003/blog-app-flask.git
- Create .env file in project folder with variables: POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB, POSTGRES_HOST, POSTGRES_PORT, SECRET_KEY
- Enter command:
docker-compose up -d --build
Well, now project us running.
To stop project, enter:
docker-compose stop
- Improve exception processing
- Add authentication