Skip to content

teschiopol/financialStats

Repository files navigation

Financial Stats 📊

CI-test-todo CodeFactor CC BY-NC-SA 4.0

A local web app to manage your personal finance based on relevance.

Setup💾

After clone the repo, install the dependencies.

npm install

Docker 🐳

If you don't have, install it.

Download docker images from here.

docker compose up     

Pocketbase 🗂

  1. Go to http://0.0.0.0:8090/_/

  2. Log with data that you found in the env file.

  3. Optional. If you have some problem, import the collection in 'Settings/ Import collections'. The setup file is in setup/pb_schema.json.

For more info see Pocketbase.

Run tests ✅

npm test

Done 🥳

Just browse to Home!

Docker 🐳

More detail on docker.

Create app image.

docker build -t YOUR_DOCKER_ID/PROJECT_NAME . -f dockerfile/Run.Dockerfile   

Create Pocketbase image.

docker build -t YOUR_DOCKER_ID/PB_NAME . -f dockerfile/PB.Dockerfile   

Then modify the docker-compose.yml file with the name of the images that you just create.

If you want to run containers separately.

docker run -p 8080:80 YOUR_DOCKER_ID/PROJECT_NAME
docker run -p 8090:8090 YOUR_DOCKER_ID/PB_NAME

Screenshot 📷

home total compare

Compare every day with months to have a perception of your monthly expenses routine.

home cat

Total of all categories.

rel

Relevance subdivision.

cat

Categories sample.

list edit

Edit operation on data list.

Credits 🦄

Unicorne