sparovec

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
auth
templ: version: v0.2.513
templ: version: v0.2.513
dashboard
templ: version: v0.2.513
templ: version: v0.2.513
layout
templ: version: v0.2.513
templ: version: v0.2.513
tags
templ: version: v0.2.513
templ: version: v0.2.513
transactions
templ: version: v0.2.513
templ: version: v0.2.513
wallets
templ: version: v0.2.513
templ: version: v0.2.513

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL