Insight Hub is a Community Forum web application built using the MERN stack (MongoDB, Express, React, Node.js). The app allows users to post questions, provide answers, and engage in discussions on various topics. Additionally, authentication is handled using Google Firebase.
Check out the live demo of the app hosted on Firebase: Insight Hub
- User Registration and Authentication using Google Firebase
- Post Questions and Answers on different topics
- Like and Dislike Answers
- View other users' profiles and contributions
- Search functionality for finding specific questions or topics
- Responsive design for seamless use on various devices
- MongoDB: For the database to store questions, answers, and user information.
- Express: To handle server-side logic and API endpoints.
- React: For building the front-end user interface and components.
- Node.js: To run the server and manage backend functionality.
- Google Firebase: For user authentication and hosting the app.
- Additional libraries: [List any additional libraries used, e.g., React Router, Axios, etc.]
To run the Community Forum app locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/community-forum-app.git
- Navigate to the project directory:
cd community-forum-app
- Install the dependencies for both the server and client:
cd backend
npm install
cd frontend
npm install
-
Configure Firebase Authentication:
- Create a new project on Firebase.
- Set up Google Sign-In for your project and get the Firebase web config.
- Replace the Firebase config in the client/src/firebase.js file.
-
Set up MongoDB:
- Create a MongoDB database and get the connection string.
- Replace the connection string in the server/config/db.js file.
-
Run the app:
cd backend
npm start
cd frontend
npm start
The app should now be running on http://localhost:8080/
.