This is a backend api service integrated with MariaDB and MongoDB for an application that manages your daily ledgers. Users can hold personal and shared ledgers to record their daily transactions more conveniently.
The system architecture is as follow :
You can view the API document here : Fortune Tracker API Document
First clone this repository:
git clone https://github.com/yu-niverse/Fortune-Tracker.git
cd Fortune-Tracker
Follow the following steps to run the service :
-
Executing environment: Linux (Ubuntu)
or you can build the docker image yourself fromfortune-tracker-api
-
Install Docker and Docker Compose
( you can run the following script to install the same version )chmod +x fortune-tracker-docker/install.sh ./fortune-tracker-docker/install.sh
-
Init Submodule
git submodule init git submodule update --remote
-
Configure your own
fortune-tracker-docker/app.env
cd fortune-tracker-docker
docker compose --env-file app.env up -d
You can view the status of the containers by running
docker compose --env-file app.env ps
The log files will be under api/logs
directory or view the logs manually by running
docker compose --env-file app.env logs <service_name>