Skip to content

kavinthangavel/React-Firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Firebase Integration

Welcome to the React Firebase Integration project! This repository is designed as a practical implementation and testing ground for integrating Firebase with a React application. It features basic yet essential pages including Home, Login, and Signup, serving as a foundational framework for building more complex, secure, and scalable web applications.

Features

  • Home Page: A welcoming landing page that users see first.
  • Login Page: Secure authentication for existing users.
  • Signup Page: User registration functionality.

This project is perfect for developers looking to understand how Firebase can be used with React to create authenticated user experiences with real-time database interactions.

Getting Started

To get this project up and running on your local machine, follow these simple steps.

Prerequisites

Ensure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Installation

  1. Clone the repository
git clone https://github.com/kavinthangavel/react-firebase.git
  1. Navigate to the project directory
cd react-firebase
  1. Install dependencies
npm install
  1. Set up Firebase
  • Create a Firebase project in the Firebase Console.
  • Add your Firebase project's configuration to a .env file in the root directory of this project.
REACT_APP_FIREBASE_API_KEY=your_api_key
REACT_APP_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com
REACT_APP_FIREBASE_PROJECT_ID=your_project_id
REACT_APP_FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com
REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
REACT_APP_FIREBASE_APP_ID=1:your_app_id:web:your_app_code
  1. Run the application
npm start

Your application should now be running on http://localhost:3000.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

License

Distributed under the MIT License. See LICENSE for more information.