Teiler is a REST API to help you to split up expenses in groups.
Prerequisites:
- Docker
- Clone the master branch or a version tag from Github.
- Run
docker-compose up -d teiler
to run the server.
Prerequisites:
- Java / OpenJDK 8
- PostgreSQL 9
- Install the prerequisites.
- Download the newest release from Github.
- Run the following commands to create a user and database:
CREATE USER tylr IDENTIFIED BY 'tylr';
CREATE DATABASE tylr WITH OWNER tylr ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8'
GRANT ALL PRIVILEGES ON DATABASE tylr to tylr;
psql -f sql/create_tables.sql tylr tylr
- Create the
applications.properties
file and add the database credentials.
# Datasource settings
spring.datasource.url = jdbc:postgresql://localhost:5432/tylr
spring.datasource.username = tylr
spring.datasource.password = tylr
#server.port = 4567 #default
#server.ip = 127.0.0.1 #default
- Run
scripts/tylr-api
to start the server. - Access it through http://localhost:PORT
If you want to access the API from outside localhost or / and SSL, use a reverse proxy in front of the application like an NGINX.
Prerequisites:
- Java / OpenJDK 8
- PostgreSQL 9
- Install the prerequisites.
- Clone the master branch or a version tag from Github.
- Do steps 4 and 5 from above.
- Run
./gradlew run
to run the server.
This project is the backend implementation for teiler. It implements the API specification created at doc.teiler.io.
Everyone is invited to create their own clients. Here's a list of clients we know of:
- web.teiler.io (reference implementation)
For contribution guidelines and software architectural help, see CONTRIBUTING