Šparovec (slovenian slang for piggy bank) is a very simple web app for managing personal finances. Simplicity is the core idea behind this project, therefore its written in go + htmx + sqlite. This results in a single executable that can be hosted anywhere you want.
- Run:
pnpm installto install the taiwlindcss dependency used to generate the css styles.
- Run:
make buildto build the executable.
- Add user with
./sparovec create-user <username> <password>- Start the server with
./sparovec serveThe following tools are required for development:
golang: main language of the project,- templ: templating library for go,
pnpm: used for running the tailwindcss tool for building thecssstyles,- air: hot reloading during development (optional)
- Run:
pnpm tailwindcss -i ./assets/_global.css -o ./assets/global.css --watchto build the css styles live.
- Run:
airto hot reload the server during development.
- Open the project in you favorite editor :)