The backend app of Project Amber, a task list app
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Timur Demin 8a8a75e3ff
Make CI automatically create Docker images
il y a 4 semaines
bin Add an example docker-compose config * Make uwsgi use its own proto, and not http * Bundle psycopg2 with the image * Add an example nginx config il y a 1 mois
doc Add an example docker-compose config * Make uwsgi use its own proto, and not http * Bundle psycopg2 with the image * Add an example nginx config il y a 1 mois
project_amber Allow promoting tasks to the top level il y a 1 mois
.dockerignore Make the app run with Docker il y a 1 mois
.drone.yml Make CI automatically create Docker images il y a 4 semaines
.gitignore Remove SQLite databases from Git il y a 1 mois
.pylintrc Make pylint aware that db.session is autogenerated il y a 1 mois
Dockerfile Add an example docker-compose config * Make uwsgi use its own proto, and not http * Bundle psycopg2 with the image * Add an example nginx config il y a 1 mois
LICENSE.txt Initial commit il y a 1 mois
README.md Make the program respect config vars il y a 1 mois
docker-compose.yml Add an example docker-compose config * Make uwsgi use its own proto, and not http * Bundle psycopg2 with the image * Add an example nginx config il y a 1 mois
requirements.txt Update the setup files il y a 1 mois
setup.cfg Initial commit il y a 1 mois
setup.py Change the home page URI il y a 1 mois

README.md

Amber Backend

This is the backend app of Project Amber, a task list app.

This is a basic Flask/SQLAlchemy app that takes care of syncing tasks between devices.

Configuration

The config file is a JSON file that is loaded from either ./config.json or /etc/amber.json, whichever is found first.

Example config:

{
    "database": "sqlite:///file.db", // SQLAlchemy database URI
    // see https://docs.sqlalchemy.org/en/13/core/engines.html#database-urls
    "allow_signup": false // whether to allow /api/signup or not
    "loglevel": 0 // 0: errors, 1: warnings, 2: info
}

If there are environment variables AMBER_DATABASE / AMBER_ALLOW_SIGNUP / AMBER_LOGLEVEL set, the program will respect them and use over the values provided with the config file.

Dependencies

This app directly depends on flask, flask-sqlalchemy, and bcrypt.

Licenses

See LICENSE.txt.