Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

multiplio/cast-website

Repository files navigation

cast website

Build Status

https://cast.multipl.io

Routes

  • /healthcheck - kubernetes readiness check
  • /assets/* - static assets
  • * - website

Consumes

user api:

  • GET /auth/<service>/ initialize authentication using a given <service>, redirects back with session cookie set
  • GET /identity/ returns public profile for the currently authenticated user

publish api:

  • POST /publish try to submit a new post for publishing, auth using a session cookie

Environment (build time only)

NODE_ENV=production

REACT_APP_GET_IDENTITY_PATH='/identity/'
REACT_APP_TWITTER_LOGIN_PATH='/auth/twitter/'
REACT_APP_POST_PATH='/publish'