ChatterPoint is a forum website where users can create, view, comment on, and interact with posts. The platform allows users to register, log in, vote on posts, comment, and share content across social media.
- User Authentication: Users can register, log in, and manage their accounts.
- Post Creation: Users can create posts with titles and descriptions.
- Upvote/Downvote: Users can vote on posts to show their approval or disapproval.
- Comments: Users can comment on posts and engage in discussions.
- Social Media Sharing: Posts can be shared on social media platforms (Facebook, Twitter, LinkedIn, WhatsApp).
- Admin Panel: Admins can manage user roles and content.
- Responsive Design: The platform is fully responsive, adapting to different screen sizes.
-
Frontend:
- React.js
- Tailwind CSS
- React Router for navigation
- React Helmet for managing the document head
- Social Media Share Buttons (React Share)
-
Backend:
- Node.js
- Express.js
- MongoDB (Mongoose for ODM)
- JWT for authentication and session management
Check out the live site: ChatterPoint
Use the following credentials to access the admin panel:
- Email:
admin@gmail.com - Password:
Admin12
Follow these steps to get ChatterPoint up and running locally:
git clone https://github.com/your-username/chatterpoint.git
cd chatterpointMake sure you have Node.js (v18+) installed. Then, install all required packages:
npm installCreate a .env file in the root directory and add your environment-specific variables. Example:
VITE_API_URL=https://your-backend-api.com
VITE_FIREBASE_API_KEY=your_firebase_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
VITE_STRIPE_PUBLIC_KEY=your_stripe_public_key🔐 Do not commit
.envto version control.
npm run devThe app will be available at:
http://localhost:5173
npm run buildnpm run preview