hobbit-tracker

command module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 20 Imported by: 0

README

Hobbit Tracker

Hobbit Tracker is a small habit tracker built with Golang and Vue.js.

Building the project

Prerequisites

The backend is built in go and requires go 1.16 or later.

The frontend is built using yarn.

Building

Make sure to built the frontend first, as the backend build process includes the frontend into it's binary.

Frontend
cd frontend
yarn install
yarn build
Backend
go get -v
go build
Running
./hobbit-tracker -port 8080
# a sqlite file will be created called hobbits.sqlite
Developing

Currently, we use the following important libraries in the backend:

To launch the backend for development, you can also use the -disk-mode-flag, which will read the files from your disk, and not from the files included in the binary.

The frontend uses Vue.js, Vue Router and Vuex, as well as some other smaller libraries.

Contributing

Although this is a private project of mine, feel free to contribute to it.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package hub is a event hub system managing events by distributing them to subscribed channels
Package hub is a event hub system managing events by distributing them to subscribed channels
middleware
api

Jump to

Keyboard shortcuts

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