The E-Learning platform is a web application built using Node.js, Express.js, Firebase Firestore, and Bootstrap. It allows users to sign up, sign in, and access educational content based on their preferences. This README provides detailed information about the project, including features, installation, configuration, project structure, usage, contributing guidelines, license, acknowledgments, and contact details.
-
User Registration: Users can sign up for the platform by providing their personal details, including first name, last name, email, password, date of birth, address, gender, pincode, and preferred course.
-
User Authentication: The platform provides a secure login system where users can sign in using their email and password.
-
Access to Educational Content: Upon successful login, users are directed to the home page where they can access various educational resources based on their preferences and selected course.
Before running the application, make sure you have the following installed:
- Node.js: Download and install Node.js from the official website (https://nodejs.org).
-
Clone the repository to your local machine:
git clone https://github.com/your-username/e-learning-platform.git
-
Navigate to the project directory:
cd e-learning-platform
-
Install the dependencies using npm:
npm install
Before running the application, you need to configure the Firebase service account credentials. Follow these steps:
-
Go to the Firebase Console (https://console.firebase.google.com/) and create a new project.
-
Go to the project settings and navigate to the "Service accounts" tab.
-
Click on "Generate new private key" to download the service account key file in JSON format.
-
Rename the downloaded file to
serviceAccountKey.json
and place it in the project root directory.
To start the server, run the following command:
npm start
The application will start running on http://localhost:3000
. Open this URL in your web browser to access the E-Learning platform.
-
app.js: The main entry point of the application where the Express server is configured.
-
views/: This directory contains the EJS templates for different pages, such as home, sign-in, sign-up, and dashboard.
-
public/: This directory contains static assets (CSS, images, etc.) used in the front-end.
-
serviceAccountKey.json: Firebase service account key file containing authentication credentials.
Contributions are welcome! If you find any bugs or want to add new features, feel free to submit a pull request.
- Special thanks to Bootstrap for providing an excellent front-end framework.
Feel free to reach out to me via the following channels:
- Email: [[email protected]]
- LinkedIn: [https://www.linkedin.com/in/m-s-052080214/]
I'm always eager to collaborate on exciting projects or discuss interesting ideas. Connect with me, and let's create something awesome together!
Thank you for stopping by! ✨
🎉 Happy Learning! 🎓