This project demonstrates a simple sign-up and sign-in page built using ReactJS with Firebase for authentication.
- User sign-up with email and password
- User sign-in with email and password
- Firebase authentication integration
- Responsive and user-friendly design
Before you begin, ensure you have the following installed on your machine:
- Node.js and npm (Node Package Manager)
- Git
- Firebase account and a project set up
- Clone the repository:
git clone https://github.com/shivankit1210/Login_page_Using_Firebase.git cd react-firebase-authentication - Install dependencies npm install
Create a Firebase project and configure the Firebase settings in your project:
-
Go to the Firebase Console.
-
Create a new project.
-
Set up Firebase Authentication with Email/Password.
-
Copy the Firebase configuration object from your project settings.
Update your project with the Firebase configuration:
// src/firebase.js
import firebase from 'firebase/app'; import 'firebase/auth';
const firebaseConfig = { // Paste your Firebase configuration here };
firebase.initializeApp(firebaseConfig);
export const auth = firebase.auth(); export default firebase;
- Start the development server: (npm start)
- Open your browser and navigate to http://localhost:3000.
- Sign up and sign in to explore the authentication features.