React Horizon UI - Open-Source Firebase Starter
Hello! This article presents an open-source full-stack starter that uses a React UI powered by Firebase for the authentication layer. React Horizon Firebase can be downloaded from Github and based on the permissive (MIT) license, used in commercial projects and eLearning activities. For newcomers, React is a leading JS library used to code interactive user interfaces and Firebase is a popular backend service baked by Google. Thanks for reading!
- π React Horizon Firebase -
product page
- π React Horizon Firebase - LIVE Demo
This amazing UI is crafted and provided for free by Simmmple, a creative web agency that uses Charka UI as the main UI library.
β¨ Product Features
- UI codebase powered by
Chakra UI
- 7 sample pages: Dashboard, NFT Market, User Profile
- 70+ Components - nicely documented here
Dark-Mode
,RTL Support
- Firebase Backend
- Social Login via Google
- Classic Authentication (user/password)
The template version (without authentication) can be found and downloaded from the official page: Horizon UI.
β¨ How to use the product
To build the product in a local environment, we need a few basic tools like Git and a decent NodeJS version (16.x or higher).
To build the product in a local environment, we need a few basic tools like Git and a decent NodeJS version (16.x or higher).
π Step 1 - Clone the sources
$ git clone https://github.com/app-generator/react-horizon-ui-chakra-firebase.git
$ cd react-horizon-ui-chakra-firebase
π Step 2 - Install dependencies
$ npm i
// OR
$ yarn
π Step 3 - Configure the Firebase credentials
// Contents of src/config/constants.js
const config = {
...
firebase: {
apiKey: 'YOUR_API_KEY',
authDomain: 'YOUR_DOMAIN_HERE',
projectId: 'YOUR_PROJECT_ID',
storageBucket: 'YOUR_STORAGE_BUCKET',
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
appId: 'YOUR_APP_ID',
measurementId: 'YOUR_TRACKER_ID'
}
};
π Step 4 - Start the app
$ npm run start
// OR
$ yarn start
Once the set up is complete, we should be able to access the app in the browser, register new users, or authenticate using Google social login.
React Horizon Firebase - NFT Page
β¨ Firebase Introduction
This section presents a few key points of this amazing service and also presents the steps to build a simple Firebase app.
Firebase is a platform developed by Google for creating mobile and web applications. It is a Backend-as-a-Service (BaaS). It provides developers with various tools and services to help them develop quality apps and grow their user base.
Firebase frees developers to focus on crafting fantastic user experiences. You donβt need to manage servers or write APIs. Firebase is your server, API, and datastore; all written so generically that you can modify it to suit most of your needs.
β¨Why using Firebase
- π Realtime Database: Firebase sends you new data as soon as itβs updated through WebSockets.
- π Authentication: Firebase auth has a built-in email/password authentication system that supports OAuth2 for Google, Facebook, Twitter, and GitHub.
- π Static Files Hosting: It has an easy static File Hosting service that serves your files through CDN, making them available faster.
- π Push Notifications: It helps connect user devices and servers so that sending native/push notifications becomes simple and reliable.
- π Analytics: Firebase provides a seamless way to integrate with Google analytics.
- π Crash Reporting: It also provides real-time crash reporting for real-time monitoring and fixing bugs.
- π Remote Configuration: Firebase allows publishing instant updates for end-users through remote configuration.Test Lab: The service helps test your applications on real and virtual devices provided by Google.
β¨How to configure a Firebase app
The first thing is to create a Firebase account and access the Console. Once we are authenticated, we need to create a "New project".
π Β Step #2 - Add a name to the project Β
π Β Step #3 - Enable / Disable Google Analytics
π Β Step #4 - Confirm the project creation
After the project has been created, you will be automatically redirected to the project.
π Β Step #5 - Generate a client for this project
Select a platform (Android / iOS / Web) for which you want to create a client application for this project. Β
Once we provide the name for the client app, we should have access to the credentials used in the Horizon Frontend.
Thanks for reading! For more resources and support, please access:
- β¨ More Free Dashboards crafted in Django, Flask, and React
- β¨ More Admin Dashboards - a huge index with products