Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 995 Bytes

README.md

File metadata and controls

37 lines (20 loc) · 995 Bytes

Finance tracker

App to keep track of your finances. The app is an experiment created from a simple web framework built from scratch without the react library.

Ideal to be used in a local network in the family. No log in is needed.

Setup

Install the packages by

make setup

Run the app

Front-end

Run parcel by

npm run start-parcel

Back-end

The back-end is handled by the json-server package. Simply start it and you are good to go. Run the json server by

npm run start-db

If it is not already present, the file db.json will be created, make sure that the file has a transactions field in the json file in such way

{"transactions": []}

To show some data at first run, a dummy db.json file with already has 4 dummy transactions can be generated by running

make setup-db

In the Config.ts, you can set the url of the backend server if your server is not in localhost.