Skip to content

An open-source to do list application for personnal use

License

Notifications You must be signed in to change notification settings

Valbou/vtaskr-backend

Repository files navigation

vTaskr Backend

An open-source to do list application for personnal use. API vTaskr - OpenAPI - Public Postman

Development in progress... We aim to use the hexagonal architecture, and assume it, even if it seems overkill/overengineering for a small app. You can follow the Roadmap.

vTaskr Frontend

License LGPLv3 Python v3.10 Tests 337 passed Coverage 92% CodeFactor API

Translations

vTaskr is available in some languages (europeans): EN, ES, DE, FR, IT, PT. Translations were made automatically by Deepl and PoEdit, and may not be accurate. Feel free to amend them if necessary !

Technical informations

Install project

apt install postgresql lsb-release redis
apt install git python3-venv python3-pip

python3 -m venv vtaskr-project
cd vtaskr-project
git clone [email protected]:Valbou/vtaskr-backend.git
cd vtaskr-backend

Config your own .env file (based on template.env file in project folder) Please change the default SECRET_KEY if you are using sessions.

Install dependencies

pip install .

or to contribute

pip install -e .

Install translations

chmod +x trad_*
./trad_compile_mo.sh users

Run migrations

alembic upgrade head

To run flask

# With Werkzeug (dev :5000)
flask --app src.flask run

# With Gunicorn (prod :8000)
gunicorn src.flask:app

Technical informations for developpers

Follow previous steps, an continue with steps below.

Install dev dependencies

pip install .[dev]

Add migrations

If you change models

alembic revision --autogenerate

To run tests

python -m coverage run -m unittest -vv

To see coverage

python -m coverage report

To contribute

To contribute:

  • clone this git repository first.
  • Create a branch nammed like this: "feat-good-feature-#42".
  • Use commit namming convention: "feat: my commit message".
  • Run tests and check your code coverage (coverage is not just a high %)
  • Make a pull request ! <3

How to help ?

  • First you can encourage development with starring project <3
  • Give us feedback in issues: what you need, what doesn't work for you...
  • If you are a dev, you can submit pull request linked to issues
  • If you are a polyglot, you can translate using .po files
  • If you are an user, you can write an end user documentation

All with kindness, we are just humans ;)

Releases

No releases published

Packages

No packages published

Languages