Codeial is a dynamic social media platform designed to connect users through a variety of interactive features. It is built using modern web technologies such as EJS, Node.js, and MongoDB, along with a suite of Node.js packages like Nodemailer and Noty to enhance functionality.
- User Registration and Login: Users can sign up and log in securely using Passport.js, with JWT tokens ensuring safe and persistent sessions.
- Profile Management: Users can customize their profiles by updating their details, such as profile pictures, names, and bios.
- Friend Requests: The app allows users to manage their social connections by sending, receiving, accepting, or declining friend requests.
- Posts and Comments: Users can create posts, view content from friends, and engage by commenting on posts.
- Likes: Users can express appreciation by liking or unliking posts and comments.
- Real-time Chat: The platform supports real-time messaging, enabling users to chat with their friends instantly.
- EJS (Embedded JavaScript): Utilized for rendering dynamic web pages on the server side.
- Node.js: Serves as the backend runtime environment to handle HTTP requests and server logic.
- MongoDB: A NoSQL database for storing user data, posts, comments, and other relevant information.
- Passport.js: Provides secure user authentication, allowing users to log in with confidence.
- JWT Tokens: Employed for maintaining secure authentication and managing user sessions.
- Nodemailer: Facilitates email functionalities for account verification and password recovery.
- Noty: Delivers user-friendly notifications to enhance user experience.
- Flash-connect: Displays flash messages to communicate user interactions and system responses.
- Multer: Handles file uploads, enabling users to upload profile and post images.
- Google OAuth: Allows users to register and log in using their Google accounts for added convenience.
To run Codeial locally, follow these steps:
- Clone the repository: git clone https://github.com/Nitish252000/Codeial.git
- cd Codeial
- Install dependencies: npm install
- Set up MongoDB: Make sure you have MongoDB installed and running.
- Configure Environment Variables: Set up environment variables for MongoDB connection, JWT secret, and other configurations.
- Start the server: npm start
- Open your web browser and visit: https://localhost:8000 to access the Codeial application