personal-finance-manager

command module
v0.0.0-...-2246c2a Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

personal-finance-manager

Table of contents

Requirement

  1. Go 1.18 or above.
  2. MySQL.

How to configure on your local machine

  1. Clone this repostory to your local.

    $ git clone https://github.com/aririfani/personal-finance-manager.git
    
  2. Change working directory to personal-finance-manager folder.

    $ cd personal-finance-manager
    
  3. Install dependencies

    $ go get .
    
  4. Create configuration files.

    $ cp env.toml.example env.toml
    
  5. Edit configuration values in env.toml according to your setting.

How to run migration

This migration can do these actions:

  1. Migration up

    This command will migrate the database to the most recent version available. Migration files can be seen in this folder migrations/sql/.

    $ go run main.go migrate:up
    
  2. Migration down

    This command will undo/rollback database migration.

    $ go run main.go migrate:down
    

How to run on your local machine

  1. Running the system.
    $ go run main.go
    

Api documentation

You can find api documentation here

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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