Skip to content

Social Media Blog App: Full-stack application enabling user-driven content creation and sharing. Built with MongoDB, Express, Node.js, featuring secure authentication and blog management functionalities.

Notifications You must be signed in to change notification settings

mr-deepansh/social-media-blog-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Media Blog App

Overview

This is a full-stack social media blog application where users can create and share blog posts. The application is built using MongoDB, Express, Node.js, and JavaScript. User authentication is implemented with JWT (JSON Web Tokens) for secure access, and Bcrypt is used to encrypt user passwords. The application also utilizes cookies for managing user sessions.

Features

  • User Authentication:

    • Secure user registration and login.
    • Passwords are encrypted using Bcrypt for enhanced security.
    • JWT tokens for user authentication and authorization.
  • Blog Creation and Sharing:

    • Users can create, edit, and delete their blog posts.
    • Share blog posts with other users.
    • View and comment on blog posts from other users.
  • User Profiles:

    • Personalized user profiles with user information.
    • Display user's created blog posts on their profile.

Technologies Used

  • MongoDB: Database for storing user information, blog posts, and comments.
  • Express.js: Web application framework for Node.js.
  • Node.js: JavaScript runtime for server-side development.
  • JavaScript: Programming language for both front-end and back-end logic.
  • JWT (JSON Web Tokens): For secure user authentication.
  • Bcrypt: Password hashing for enhanced security.
  • Cookies: Used for managing user sessions.

Setup Instructions

  1. Clone the Repository:
    git clone https://github.com/your-username/social-media-blog-app.git
    cd social-media-blog-app

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js

  • npm

  • MongoDB

  • Set Environment Variables: Create a .env file in the root directory. Add the following environment variables to the .env file:

MONGODB_URI=your_mongodb_connection_string ACCESS_TOKEN_SECRET=your_jwt_secret_key

Run the Application:

npm start Quick Start Commands: If you're in a hurry, you can use the following commands:

About

Social Media Blog App: Full-stack application enabling user-driven content creation and sharing. Built with MongoDB, Express, Node.js, featuring secure authentication and blog management functionalities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published