demo/

directory
v0.0.0-...-5999da7 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT

README

LoginRadius Go SDK Demo

Home Image

Installation

Add LoginRadius API Credentials in the following file, You can obtain credentials from here

  • Add the API credentials in secret.env.example under demo/config and rename the file name to secret.env
  • Add the API credentials in options.sample.js under demo/ui/assets/js and rename the file name to options.js

In demo/cmd/app/ directory `` Run the command

"go mod init demo/cmd/app"

To install, run:

go get github.com/loginradius/go-sdk

Install all package dependencies by running go get ./....

After installation of all dependencies run go run main.go in the ./demo/cmd/app/ directory

You can view the demo on the http://localhost:3000/

Directories

Path Synopsis
cmd
app
pkg

Jump to

Keyboard shortcuts

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