项目作者: acoshift

项目描述 :
Example Cross-Origin Auth and API Servers
高级语言: Go
项目地址: git://github.com/acoshift/example-cross-origin-auth-api.git
创建时间: 2019-03-11T11:31:28Z
项目社区:https://github.com/acoshift/example-cross-origin-auth-api

开源协议:MIT License

下载


example-cross-origin-auth-api

Example Cross-Origin Auth and API Servers

Steps

  1. Generate RSA for sign JWT

    make generate

  2. Start Auth Server

    make start-auth

  3. Start API Server

    make start-api

  4. Start Web Server

    make start-web

  5. Browse web at http://localhost:8080

  6. Sign In

  7. You will sign in to localhost:8081, but profile api will called from localhost:8082