Skip to content

This repo contains the code samples for the Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT article.

License

Notifications You must be signed in to change notification settings

virtyaluk/golang-simple-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Web App in Go

This repo contains the code samples for the Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT article.

Setup

  1. Update the main.go file with your Auth0 Credentials. Sign up for an account for free if you don't have one.
  2. Update the views/app.jsx file with your Auth0 Credentials.
  3. Add http://localhost:3000 to your Allowed Callback, and Allowed Logout URL's in your Auth0 Management Dashboard.
  4. Run mv .env.sample .env and update with valid credentials
  5. Source the environment variables - source .env
  6. Update dependencies go get
  7. Launch the application by running go run main.go
  8. Navigate to localhost:3000 to view the application

📗 License

Licensed under the MIT license.

Copyright (c) 2018 Bohdan Shtepan


modern-dev.com  ·  GitHub @virtyaluk  ·  Twitter @virtyaluk

About

This repo contains the code samples for the Build a Golang app with the Gin framework, and authenticate with Auth0 + JWT article.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published