belajar-authentication

command module
v0.0.0-...-d222c98 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 17 Imported by: 0

README

belajar-authentication

use existing libs :

  • Chi Router

  • Ozzo Validation, for input request validation

  • Godotenv, for env loader

  • Gorm, for ORM

Setups

  • Clone Repo
$ 	git clone https://github.com/riyanda432/belajar-authentication.git
$ 	cd belajar-authentication
$ 	go mod tidy
  • Install Air for Hot Reloading
  • Install soda-cli for migration tools
  • Setup .env
  • Setup database.yml
  • [optional] Run sample migrations
$ 	soda migrate up
  • Running Application
$ air

or

$ go run main.go

Pre-Usage

Please install to verify unit test before commit

go install github.com/go-courier/husky/cmd/husky@latest

Then install git hooks

husky init

Pre-Usage With Docker

docker-compose up
https://www.postman.com/warped-comet-2088/workspace/my-workspace/example/8065646-126e8f24-fc9d-4e63-b446-aa702bf9639f

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