An open API service indexing awesome lists of open source software.

https://github.com/cuchi/todo-flask-backend

This project works as a template for applications with the Flask + SqlAlchemy stack
https://github.com/cuchi/todo-flask-backend

Last synced: about 1 year ago
JSON representation

This project works as a template for applications with the Flask + SqlAlchemy stack

Awesome Lists containing this project

README

          

# Setup

Make sure you are using Python 3.9.1 with Poetry installed:
```bash
# Make sure your pyenv is updated:
cd $HOME/.pyenv/plugins/python-build/../.. && git pull && cd -

# Install and setup Python 3.9.1 with Poetry for this project:
pyenv install 3.9.1
pyenv local 3.9.1
pip install poetry
```
Then, you can install the project dependencies on its own vritual env:
```bash
poetry install
```

Finally, you can access it with the `poetry shell` command.

## What's inside?

This project is built using:
- Flask - web framework
- PostgreSQL - relational database
- SQLAlchemy - ORM
- Alembic - database migrations
- PyTest - unit & integration testing
- Poetry - package management
- docker-compose - local environment services