https://github.com/awcodify/gorest
REST API using Golang. This repository is my journal in learning Golang. Hope we can learn it together.
https://github.com/awcodify/gorest
golang golang-application golang-router golang-wrapper
Last synced: about 2 months ago
JSON representation
REST API using Golang. This repository is my journal in learning Golang. Hope we can learn it together.
- Host: GitHub
- URL: https://github.com/awcodify/gorest
- Owner: awcodify
- License: mit
- Created: 2017-08-15T04:57:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T07:40:54.000Z (over 7 years ago)
- Last Synced: 2025-02-04T15:48:00.312Z (4 months ago)
- Topics: golang, golang-application, golang-router, golang-wrapper
- Language: Go
- Homepage:
- Size: 24.4 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoREST
My playground for creating REST API using Golang.# Last changes
* simple (CRUD) user management
* simple JSON Web Token (JWT) authentication *thanks to [appleboy](github.com/appleboy/gin-jwt)
* 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
* [Gin Gonic](https://github.com/gin-gonic/gin)
* [Gorm](https://github.com/jinzhu/gorm)# Wanna discuss with me?
Very open for suggestions. Sharing is caring is learning.
Just mail me at [email protected]