The backend app of Project Amber, a task list app
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Timur Demin 8a8a75e3ff
Make CI automatically create Docker images
4 недель назад
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 1 месяц назад
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 1 месяц назад
project_amber Allow promoting tasks to the top level 1 месяц назад
.dockerignore Make the app run with Docker 1 месяц назад
.drone.yml Make CI automatically create Docker images 4 недель назад
.gitignore Remove SQLite databases from Git 1 месяц назад
.pylintrc Make pylint aware that db.session is autogenerated 1 месяц назад
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 1 месяц назад
LICENSE.txt Initial commit 1 месяц назад
README.md Make the program respect config vars 1 месяц назад
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 1 месяц назад
requirements.txt Update the setup files 1 месяц назад
setup.cfg Initial commit 1 месяц назад
setup.py Change the home page URI 1 месяц назад

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.