blainekasten / gatsby-authentication

example of gatsby api for authenticated routes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gatsby client side routing in FS example

Shows an example of doing crude authentication with file path routing and a basic hook. All user-land implemented, nothing specific to Gatsby.

  • /app/* is effectively auth gated via the hooks/use-auth-route
  • /index,/login,/logout are public

Pros & Cons

TODO:

About

example of gatsby api for authenticated routes

License:MIT License


Languages

Language:CSS 66.4%Language:TypeScript 17.3%Language:JavaScript 16.3%