Overview
Simple Static React Firebase is a minimal boilerplate repo that provides a basic setup for static React and ES6 sites with Firebase authentication and cloud database. The intention is to offer a straightforward environment for new users who want an ES6/React environment with persistent user data. The repo includes features such as ES6/React with sourcemaps, CSS modules, user login with popular providers, a Firebase database, hash-based client-side routing, and watchfile’d development builds.
Features
- ES6/React with sourcemaps
- CSS modules
- User login with Google, Facebook, Twitter, Github, and Email
- Firebase database
- Hash-based, client-side routing
- Watchfile’d development builds
Installation
- Clone the repo locally and run
npm install. - Add your Firebase project info to the head of both
public/auth.htmlandsrc/data.js. - Configure the login providers you want to use and remove the remaining references in
public/auth.html. - You’re done! You can now start working on your amazing idea.
Summary
Simple Static React Firebase is a boilerplate setup for static React and ES6 sites with Firebase authentication and a cloud database. It offers a basic environment for new users and includes features such as ES6/React with sourcemaps, CSS modules, user login with multiple providers, a Firebase database, hash-based client-side routing, and watchfile’d development builds. The setup process involves cloning the repo, adding Firebase project info, and configuring the login providers. Once set up, users can develop and deploy their ideas using this minimal and straightforward boilerplate.