awcodify / GoREST

REST API using Golang. This repository is my journal in learning Golang. Hope we can learn it together.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoREST

My playground for creating REST API using Golang.

Last changes

  • simple (CRUD) user management
  • simple JSON Web Token (JWT) authentication *thanks to appleboy
  • add auto migrate using cli

How to use

  • clone this repo
  • install the cli
    • go to gcli directory cd gcli
    • go install
  • run the gcli from the root of this project
    • do migration gcli db migrate
    • make sure there's no error on your migration
  • run the app go run main.go

Used things

Wanna discuss with me?

Very open for suggestions. Sharing is caring is learning. Just mail me at awcodify@gmail.com

About

REST API using Golang. This repository is my journal in learning Golang. Hope we can learn it together.

License:MIT License


Languages

Language:Go 100.0%