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.
- 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.
To get this project up and running on your local machine, follow these simple steps.
Ensure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Clone the repository
git clone https://github.com/kavinthangavel/react-firebase.git
- Navigate to the project directory
cd react-firebase
- Install dependencies
npm install
- 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
- Run the application
npm start
Your application should now be running on http://localhost:3000.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Distributed under the MIT License. See LICENSE
for more information.