api

command
v0.0.0-...-c950848 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

README

  1. Make sure migrations are ran and up to date.
    From the root directory you can use the provided cli: go run cwb.go
    
  2. Install all Go libraries:
    go get github.com/codewinks/cworm
    go get github.com/codewinks/go-colors 
    go get github.com/codewinks/godotenv
    go get github.com/codewinks/cwblog 
    go get github.com/auth0/go-jwt-middleware
    go get github.com/dgrijalva/jwt-go
    go get github.com/go-chi/chi
    
  3. go run main.go

Add AUTH_CHECK_URL to Auth0 Application Advanced settings: http://a2f26fa01aa9.ngrok.io/v1/auth/check

This is used in conjuction with the userLoginSignup rule to check if a user can signup.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL