Skip to content
/ stacksign Public template

A minimal boilerplate stack for React SPA with support for TypeScript, Apollo, GraphQL, Auth0 and Private Routes with React-Router

License

Notifications You must be signed in to change notification settings

Storytics/stacksign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repo-banner

A simple stack that groups a starting point for applications that support authentication using the Auth0 service. It uses Apollo Client with authenticated GraphQL endpoints, the token is passed from Auth0 to Apollo configuration without using LocalStorage. Made with hooks, includes useAuth0 hook.

StackSign Features:

  • TypeScript Support
  • Out of the box configuration with Auth0
  • Token configuration between Apollo Client with Auth0 without using LocalStorage;
  • Support for Private Routes with React-Router and Auth0
  • Hook support with useAuth0

Quick Start

git clone https://github.com/vacom/stacksign.git
cd stacksign
yarn install or npm install
//First set the Environment Variables
yarn start or npm start

Then open http://localhost:3000/ to see your app.

Environment Variables

// env.
REACT_APP_API_URL =
REACT_APP_API_SUBSCRIPTION_URL =
REACT_APP_AUTH_DOMAIN =
REACT_APP_AUTH_CLIENT_ID =
REACT_APP_AUTH_REDIRECT_URI =

Author


MIT License

About

A minimal boilerplate stack for React SPA with support for TypeScript, Apollo, GraphQL, Auth0 and Private Routes with React-Router

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published