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
- Run:
pnpm install
to install the taiwlindcss dependency used to generate the css
styles.
- Run:
make build
to build the executable.
- Add user with
./sparovec create-user <username> <password>
- 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 thecss
styles,- air: hot reloading during development (optional)
- Run:
pnpm tailwindcss -i ./assets/_global.css -o ./assets/global.css --watch
to build the css
styles live.
- Run:
air
to hot reload the server during development.
- Open the project in you favorite editor :)