An open API service indexing awesome lists of open source software.

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

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/)