https://github.com/softspiders/gatsby-auth
Mimimalistic authentication in Gatsby.js
https://github.com/softspiders/gatsby-auth
auth client client-only-routes gatsby javascript local-storage login min reach-router react router softspider softspiders ss template todo
Last synced: 2 months ago
JSON representation
Mimimalistic authentication in Gatsby.js
- Host: GitHub
- URL: https://github.com/softspiders/gatsby-auth
- Owner: softspiders
- License: mit
- Created: 2019-02-09T13:28:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T04:06:08.000Z (over 6 years ago)
- Last Synced: 2025-03-05T07:35:10.467Z (over 1 year ago)
- Topics: auth, client, client-only-routes, gatsby, javascript, local-storage, login, min, reach-router, react, router, softspider, softspiders, ss, template, todo
- Language: JavaScript
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[SOFTSPIDERS](https://github.com/softspiders/softspiders)
# gatsby-auth
Example of authentication in Gatsby.js with [Reach Router](https://reach.tech/router) and private client-only routes.
---
## Feature tags
- auth
- gatsby
- jamstack
- javascript
- starter
- template
---
## Direct Ancestors
[Mimimalistic *Gatsby.js*](https://github.com/softspiders/gatsby.js)
## Requirements
[*Node (>=6.0.0)*](https://nodejs.org/en/download/package-manager/)
## Installation
```sh
npm i
```
## Running
```sh
npm start
```
## Demo Credentials
- username: *john*
- password: *pass*
## Inspired by
- [Gatsby Authentication Demo](https://github.com/gatsbyjs/gatsby/tree/master/examples/simple-auth)
- [Making a site with user authentication](https://www.gatsbyjs.org/docs/authentication-tutorial/)