Skip to content

A full-stack blogging application built with MERN stack (MongoDB, Express.js, React Js, Node.js). It features user authentication, blog post creation, and CRUD operations with a modern, responsive UI.

Notifications You must be signed in to change notification settings

adityadhiman-in/bloggo_mern_stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Online Blogging Platform

Preview

Overview

This is an online blogging platform that allows users to perform CRUD (Create, Read, Update, Delete) operations on blog posts. The platform features a robust user interface for writing, editing, viewing, and deleting posts.

Features

  • Create: Users can write and publish new blog posts.
  • Read: Users can view published posts.
  • Update: Users can edit their own blog posts.
  • Delete: Users can delete their blog posts.
  • User Authentication: Secure login and signup functionality.

Tech Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Frontend: [Specify frontend technology if applicable]
  • Environment: [Specify any specific environment or configuration if applicable]

Installation

  1. Clone the repository

    git clone https://github.com/adityadhiman-in/bloggo_mern_stack.git
  2. Navigate to the project directory

    cd your-repository
  3. Install dependencies

    npm install
  4. Set up environment variables

    Create a .env file in the root directory and add the following environment variables:

    PORT=3000
    MONGO_URI=your_mongodb_connection_string
  5. Start the application

    npm start

    The server will run on http://localhost:3000.

Usage

  1. Access the application: Open your browser and go to http://localhost:3000.

  2. Endpoints:

    • POST /posts - Create a new blog post
    • GET /posts - Retrieve all blog posts
    • GET /posts/:id - Retrieve a single blog post by ID
    • PUT /posts/:id - Update a blog post by ID
    • DELETE /posts/:id - Delete a blog post by ID

Middleware and Configuration

  • CORS: Enabled for http://localhost:3000 and http://localhost:5173.
  • Body Parsing: JSON and URL-encoded data are supported.

Contributing

Feel free to fork the repository and submit pull requests. If you find any issues or have suggestions for improvements, please open an issue on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Feel free to reach out if you have any questions or suggestions!

Made with ❤️ by Aditya Dhiman

About

A full-stack blogging application built with MERN stack (MongoDB, Express.js, React Js, Node.js). It features user authentication, blog post creation, and CRUD operations with a modern, responsive UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published