Gatsby Authentication, simple app used local storage as data store
Live Demo
💡
NOTE: If you would like to deploy with GitHub Pages, change the value of
basepath
props with your repository name as below:
// src/pages/app.js
<Layout>
<Router basepath="/YOUR_REPOSITORY_NAME">
<PrivateRoute path="/app/profile" component={Profile} />
<Login path="/app/login" />
</Router>
</Layout>
🚀 More details @reach/router
✔ Eka Prasetia 🤵
✔ Collection my App
Find example all my Scratch App 👉 on working ðŸ›
✔ Community
I am author for two communities in Indonesia
- GatsbyJS Indonesia Gatsby-ID
- RedwoodJS Indonesia Redwood-ID