Web app boilerplate for beginners based on Firebase and React 🔥
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
functions
public
scripts
src
.env.dev.example
.env.live.example
.env.stage.example
.firebaserc.example
.gitignore
README.md
firebase.json
firestore.indexes.json
firestore.rules
package-lock.json
package.json

README.md

A modern web-app boilerplate with Create React App and Firebase. Focused on simplicity for new devs, rapid prototyping, and smallish projects.

Full documentation at getfirefly.org

Live Demo

App Structure

This root directory contains configuration files for Firebase, NPM, and git (The package.json scripts pull the environment variables from an .env file before calling react-scripts. Learn how it works here)

Child folders each have their own readme:

  • /functions - contains a little backend code for updating our search index when a post changes, keeping subscriptions in sync with stripe, and some denormalization of posts.
  • /public - files that will be available as-is when you go live
  • /scripts - scripts you can run manually on the database. Useful for adding dummy data, "migrations", etc.
  • /src - contains most of the app. These are create components that are compiled into a single JS file and sent to the user's browser.

License

MIT License