GithubHelp home page GithubHelp logo

storytics / stacksign Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 808 KB

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

License: MIT License

HTML 3.24% TypeScript 66.42% JavaScript 29.51% Shell 0.82%
typesript apollo-client auth0 react react-router

stacksign's Introduction

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

stacksign's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.