Skip to content

Server part an app for fast bill splitting between friends

Notifications You must be signed in to change notification settings

zavedyaev/bill-splitter-server

Repository files navigation

Bill Splitter Server

Server part for ReactJS-based web-app for fast bill splitting between friends

Provides REST API

Demo-site

https://zavedyaev.ru/bill-splitter

License

Creative Commons License

Bill-Splitter-Server app is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Requirements

  1. mysql
  2. docker

Installation on server

  1. Create a database and user

     create database bill_splitter;
     create user 'bill_splitter'@'%' identified by 'bill_splitter';
     grant all on bill_splitter.* to 'bill_splitter'@'%';
     
  2. build docker image and push it

     ./gradlew bootBuildImage
     docker tag docker.io/library/bill-splitter-server:0.0.12-SNAPSHOT zavedyaev/bill-splitter-server:0.0.12-SNAPSHOT
     docker push zavedyaev/bill-splitter-server:0.0.12-SNAPSHOT
     

    or

     ./gradlew bootJar
     docker build -t docker.io/library/bill-splitter-server:0.0.12-SNAPSHOT .
     docker tag docker.io/library/bill-splitter-server:0.0.12-SNAPSHOT zavedyaev/bill-splitter-server:0.0.12-SNAPSHOT
     docker push zavedyaev/bill-splitter-server:0.0.12-SNAPSHOT
     
  3. pull and run it on server

     docker pull zavedyaev/bill-splitter-server:0.0.12-SNAPSHOT
     docker run -p 8081:8081 --add-host=dockerhost:172.17.0.1 -d -m 314572800 --memory-swap 600000000 --restart always -v /etc/letsencrypt/live/zavedyaev.ru:/certs zavedyaev/bill-splitter-server:0.0.12-SNAPSHOT
     

About

Server part an app for fast bill splitting between friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published