The backend app of Project Amber, a task list app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Timur Demin 06b797e792
Merge branch 'develop'
3 days ago
bin Add an example docker-compose config 2 months ago
doc Add an example docker-compose config 2 months ago
project_amber Refactor task getters 3 days ago
.dockerignore Make the app run with Docker 2 months ago
.drone.yml Update CI config 1 week ago
.gitignore Remove SQLite databases from Git 2 months ago
.pylintrc Make pylint aware that db.session is autogenerated 2 months ago
Dockerfile Add an example docker-compose config 2 months ago
LICENSE.txt Initial commit 2 months ago
README.md Make the program respect config vars 2 months ago
docker-compose.yml Add an example docker-compose config 2 months ago
requirements.txt Update the setup files 2 months ago
setup.cfg Initial commit 2 months ago
setup.py Change the home page URI 2 months ago

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.