Categorygithub.com/viddrobnic/sparovec
repositorypackage
1.0.0
Repository: https://github.com/viddrobnic/sparovec.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Šparovec

Š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.

Quickstart

  1. Run:
pnpm install

to install the taiwlindcss dependency used to generate the css styles.

  1. Run:
make build

to build the executable.

  1. Add user with
./sparovec create-user <username> <password>
  1. Start the server with
./sparovec serve

Development

The 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 the css styles,
  • air: hot reloading during development (optional)
  1. Run:
pnpm tailwindcss -i ./assets/_global.css -o ./assets/global.css --watch

to build the css styles live.

  1. Run:
air

to hot reload the server during development.

  1. Open the project in you favorite editor :)

License

GNU General Public License v3.0