Skip to content

riyanda432/belajar-authentication

Repository files navigation

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

Link API Documentation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published