An open API service indexing awesome lists of open source software.

https://github.com/gabrielpenteado/react-firebase-form

A registration form with realtime database and light/dark interface. | React | Typescript | ChakraUI | Firebase
https://github.com/gabrielpenteado/react-firebase-form

chakra-ui firebase-database react typescript vite

Last synced: about 2 months ago
JSON representation

A registration form with realtime database and light/dark interface. | React | Typescript | ChakraUI | Firebase

Awesome Lists containing this project

README

        


React-Firebase-form


A React form integrated with ChakraUI and Firebase realtime database.


license

npm version

react version

firebase version

website status

## 📜 Contents

- [About the project](#-about-the-project)
- Built with
- Website
- [Getting Started](#-getting-started)
- Requirements
- Installation
- [Features](#-features)
- Light / Dark Mode
- Password Strength Meter
- Pop-Up Message
- [Contributions](#-contributions)
- [License](#-license)

## 🔎 About the project


A registration form created with React and Typescript using
React-Hook-Form library for form validation.
It's integrated with ChakraUI and with Realtime Database from Firebase.
The form has responsive web design, custom pop-ups messages for each action(create/delete user) and a
light/dark mode.






Video


Website

























Light-theme


Dark-theme




### Built with

![react](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
![vite](https://img.shields.io/badge/Vite-B73BFE?style=for-the-badge&logo=vite&logoColor=FFD62E)
![typescript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![chakraui](https://img.shields.io/badge/Chakra--UI-319795?style=for-the-badge&logo=chakra-ui&logoColor=white)
![firabase](https://img.shields.io/badge/firebase-ffca28?style=for-the-badge&logo=firebase&logoColor=black)
![React Hook Form](https://img.shields.io/badge/React%20Hook%20Form-%23EC5990.svg?style=for-the-badge&logo=reacthookform&logoColor=white)

## 🔥 Getting started

To start using this React form follow the instructions below.

### Requirements

- npm (^9.5.0)
- react(^18.2.0)
- [vite](https://vitejs.dev/guide/)
- [chakraUI](https://chakra-ui.com/getting-started/vite-guide)
- [react-hook-form](https://react-hook-form.com/get-started)
- [react-password-strength-bar](https://www.npmjs.com/package/react-password-strength-bar)
- [uid](https://www.npmjs.com/package/uid)

### Browsers Support

| [Chrome](https://www.google.com/intl/en/chrome/)
Chrome | [Edge](https://www.microsoft.com/en-us/edge)
Edge | [Firefox](https://www.mozilla.org/en-US/firefox/new/)
Firefox | [Safari](https://www.apple.com/br/safari/)
Safari | [Opera](https://www.opera.com)
Opera |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
| ✅ | ✅ | ✅ | ✅ | ✅ |
| last version | last version | last version | last version | last version |

### Installation

1. Clone the repository

`git clone https://github.com/gabrielpenteado/react-firebase-form`

2. Access the project folder in the terminal

3. Install all packages dependencies

`npm install`

4. Add Firebase SDK

Rename firebase_sample.tsx to firebase.tsx and

replace the firebase configuration.
> firebaseConfig {

> ..."your app's Firebase project configuration"

> };

_Note: You can run the following command to install latest SDK :_
`npm install firebase`

5. Start testing

`npm run dev`

## 💫 Features

### Light / Dark mode

- The user can choose between a light or dark theme.

### Password strength meter

- A password's strength is measured according to predefined rules and is displayed using a horizontal scale next to the input field.

### Pop-up messages

- Custom pop-up messages are displayed for each action.

## 🤝 Contributions

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

The foundation of the open source community are the contributions, them inspire us to learn and create. Any contributions are greatly appreciated.

## 📄 License

This project is licensed under the MIT License. See the [LICENSE.md](https://github.com/gabrielpenteado/react-firebase-form/blob/main/LICENSE.md) file for details.





Gabriel Penteado


Full Stack Developer



[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/gabriel-penteado)
[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/gabrielpenteado)
[![Gmail](https://img.shields.io/badge/[email protected]?style=for-the-badge&logo=gmail&logoColor=white)](mailto:[email protected])