Skip to content

rdoddi/react-stytch-auth-demo

Repository files navigation

stytch-demo

Simple reactjs webapp primarily demonstrating stytch as login-as-service.

This demo app serves as an example for following tooling

architecture.png

  1. Stytch auth for login-as-service
  2. Recoil for state management
  3. React Router Dom v6 for client side routing
  4. React Testing Library for component testing
  5. Recoil component mocking for tests
  6. React in-built CI tooling for code coverage

About Author

Author: Ramesh Doddi [email protected] LinkedIn

Technology executive and entrepreneur continuously looking out for creative products to streamline and accelerate product roadmaps.

LICENSE

Distributed under terms listed in LICENSE

Configuration

cp .env-template .env
  1. Set up your Stytch account
  2. Create demo project
  3. Get your public key from Stytch project dashboard
  4. Copy to env

Build & Run

npm install
npm run start

Test coverage

npm run test:ci
open coverage/lcov-report/index.html

About

Simple demo using Stytch login-as-service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published