eljuanchosf / golang-gin

A s[a|i]mple Golang / Gin / React application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jokeish

A sample Golang / Gin / React application, based on the original tutorial here

Dependencies

Install with:

go get -u github.com/gin-gonic/gin
go get -u github.com/gin-gonic/contrib/static
go get -u github.com/auth0/go-jwt-middleware
go get -u github.com/dgrijalva/jwt-go

Auth0

Go to Auth0's site, signup and create an API. Take note of the data.

Configure

cp .env.example .env
cp views/js/env.jsx.example views/js/env.jsx

Edit the new files and replace the values to the ones that Auth0 provided when creating the API.

Run!

go run main.go

About

A s[a|i]mple Golang / Gin / React application


Languages

Language:JavaScript 47.9%Language:Go 42.4%Language:HTML 9.6%