Webapp for tracking bills.
- REST
- scala
- cats
- http4s
- reactivemongo
- circe
- quicklens
- REST
- scalajs
- reactjs
- cats
- diode
- circe
- quicklens
- bootstrap
Developed with GraalVM
(both docker and pure jvm)
This is complete configuration including mongodb. You don't need to configure anything.
Required:
- docker
- docker-compose
- compile project:
sbt stage
- run:
docker-compose up -d web
- stop:
docker-compose down
Required:
- docker
- mongodb
- You need to provide
MONGO_URL_BILLS_TRACKER
env to container. In this example I'll putMONGO_URL_BILLS_TRACKER=mongodb://test:test@localhost:27017/test
to/etc/environment
file.
- compile project, build image and publish to local docker:
sbt docker:publishLocal
- run:
docker run -d -p 8080:8080 --env-file /etc/environment --name billstracker billstracker:0.1
- stop:
docker stop billstracker && docker rm billstracker
Required:
- mongodb
- You need to provide
MONGO_URL_BILLS_TRACKER
env. You can e.g. add it to/etc/environment
or~/.bashrc
or even to live shell like this:export MONGO_URL_BILLS_TRACKER=mongodb://test:test@localhost:27017/test
.
- build project
sbt stage
- run:
./target/universal/stage/bin/billstracker
- stop:
ctrl+c