All Projects β†’ ovidiumihaibelciug β†’ gatsby-firebase-starter

ovidiumihaibelciug / gatsby-firebase-starter

Licence: MIT License
πŸ”₯ Starter Project / Boilerplate for Authentication and creating Dynamic pages from collections with Firebase and Gatsby.js.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to gatsby-firebase-starter

Gatsby Theme Firebase
πŸ”₯ A Gatsby Theme for adding Firebase to your application.
Stars: ✭ 96 (+57.38%)
Mutual labels:  gatsby, firebase-auth, firestore
ChatApp
Chat app based on Firebase tools.
Stars: ✭ 88 (+44.26%)
Mutual labels:  firebase-auth, firestore
firebase
Modular Firebase πŸ”₯ implementation for NativeScript. Supports both iOS & Android platforms for all Firebase services.
Stars: ✭ 36 (-40.98%)
Mutual labels:  firebase-auth, firestore
Facebook-Messenger
This is a Facebook Messenger clone.You can comminicate to other at realtime.Used ReactJS, Material UI, Firebase, Firestore Database
Stars: ✭ 18 (-70.49%)
Mutual labels:  firestore, firestore-database
flutter-auth-ui
flutter-auth-ui is an authentication library for flutter web applications. It uses Firebase auth as security as a service (SECaaS) provider. It implements UI to register user, validate email, sign in, sign out, restore password, access firestore..
Stars: ✭ 59 (-3.28%)
Mutual labels:  firebase-auth, firestore
firebase-bundle
A Symfony Bundle for the Firebase PHP Admin SDK
Stars: ✭ 112 (+83.61%)
Mutual labels:  firebase-auth, firestore
app
Source code of intencje.pl website and mobile/desktop apps based on Angular, Firebase, and Capacitor.
Stars: ✭ 12 (-80.33%)
Mutual labels:  firebase-auth, firestore
BookRentApp-Chapter3
An app where you can rent some books!
Stars: ✭ 11 (-81.97%)
Mutual labels:  firebase-auth, firestore-database
voting system app
E-voting system based on blockchain technology, with ethereum, flutter/dart
Stars: ✭ 59 (-3.28%)
Mutual labels:  firebase-auth, firestore
SwiftUIRealtimeShoppingCart
SwiftUI Collaborative Shopping Cart with Firestore Database
Stars: ✭ 34 (-44.26%)
Mutual labels:  firestore, firestore-database
gatsby-source-firestore
Gatsby source plugin for building websites using the Firestore as a data source.
Stars: ✭ 30 (-50.82%)
Mutual labels:  gatsby, firestore
flutter-app
Full Feature Todos Flutter Mobile app with fireStore integration.
Stars: ✭ 138 (+126.23%)
Mutual labels:  firestore, firestore-database
unishox js
JS Library for Guaranteed compression of Unicode short strings
Stars: ✭ 27 (-55.74%)
Mutual labels:  firestore, firestore-database
vue-blog
Book blog
Stars: ✭ 31 (-49.18%)
Mutual labels:  firebase-auth, firestore
whatsapp-clone-react
Build a WhatsApp Clone with React JS and FireBase.
Stars: ✭ 38 (-37.7%)
Mutual labels:  firebase-auth, firestore
FireShort
A URL Shortener made using React.JS and Google Firestore
Stars: ✭ 29 (-52.46%)
Mutual labels:  firestore, firestore-database
Flutter-firestore-auth
Flutter mobile app with firestore authentication including Email and Social auth.
Stars: ✭ 95 (+55.74%)
Mutual labels:  firebase-auth, firestore
miracle-basketball
miracle-basketball.firebaseapp.com/
Stars: ✭ 29 (-52.46%)
Mutual labels:  firebase-auth, firestore
open-feedback
Open Feedback is an opened SaaS platform destined to organisers to gather feedback from users. OpenFeedback
Stars: ✭ 67 (+9.84%)
Mutual labels:  firebase-auth, firestore
firebase-tutorial
This repo contains the code for the youtube playlist about React.js and Firestore. Covered are setting up Firesore in a React-App and much more.
Stars: ✭ 33 (-45.9%)
Mutual labels:  firebase-auth, firestore

Gatsby

Gatsby Firebase starter

Kick off your project with this gatsby firebase boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.

πŸš€ Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying the blog starter.

    # create a new Gatsby site using the blog starter
    gatsby new my-firebase-starter ovidiumihaibelciug/gatsby-firebase-starter
  2. Add firebase config

    Log in to firebase console and replace the config from firebaseConfig.js with your settings.

  3. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-firebase-starter/
    gatsby develop
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

  5. Make dynamic pages

    Open templates.js and add your dynamic pages like this:

    [
      {
        path: '/post',
        collection: 'posts',
        param: 'title',
        context: ['title', 'description'],
        fileName: 'post',
      },
    ];
    1. path is the url of the page, for example test.com/post

    2. collection is the name of the collection from firestore, at build time this starter will retrieve and make pages with all the documents from this collection

    3. param the parameter from url, the equivalent of /post/:param in React Router

    4. context the fields from the collection that will be requested at build time, then you can access the data from this.props.pageContext. For example for this context: ['title', 'description'], you'll be able to get the data from here:

    const {
      pageContext: { title, description },
    } = this.props;
    1. filename the name of the file from templates folder that you'll use to render the data from that collection

βš™οΈ Features

  • Dynamic pages from Firestore collections
  • Includes React Helmet to allow editing site meta tags
  • PWA Support
  • SEO
  • Sign In
  • Sign Up
  • Sign Out
  • Password Forget
  • Password Change
  • Verification Email
  • Protected Routes with Authorization
  • Social Logins with Google, Facebook and Twitter
  • Linking of Social Logins on Account dashboard
  • Auth Persistence with Local Storage
  • Database with Users and Posts

🧐 What's inside?

A quick look at the folder structure.

β”œβ”€β”€ node_modules
β”œβ”€β”€ src
  β”œβ”€β”€ assets
  β”œβ”€β”€ components
    β”œβ”€β”€ atoms
    β”œβ”€β”€ molecules
    β”œβ”€β”€ scenes
  β”œβ”€β”€ constants
  β”œβ”€β”€ pages
  β”œβ”€β”€ styles
  β”œβ”€β”€ templates
  β”œβ”€β”€ utils
  1. /node_modules: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.

  2. /src: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. src is a convention for β€œsource code”.

  3. /components: This folder contains the React components structured following the Atomic Design methodology

    3.1. atoms Atoms are the smallest possible components, such as buttons, titles, inputs.

    3.2 molecules They are the composition of one or more components of atoms. Here we begin to compose complex components and reuse some of those components.

    3.3 scenes This is a combination of templates and organisms. Basically these are the components that will be used directly in /pages

  1. constants: Some constants use throughout the app.

  2. pages: Components under src/pages become pages automatically with paths based on their file name.

  3. styles: The styles of the app. (Made with scss)

  4. utils: Firebase setup, Auth setup and reusable code used throughout the app.

πŸ’« Deploy

Deploy to Netlify

πŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start:

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].