Skip to content

Uzo-Felix/blog-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Blog App

This is a full-stack MERN (MongoDB, Express, React, Node.js) blog application that allows users to create, read, update, and delete blog posts.

Features

  • User authentication: Users can sign up, log in, and log out.
  • Create blog posts: Users can write and publish new blog posts.
  • View blog posts: Users can browse and read published blog posts.
  • Update blog posts: Users can edit and update their own blog posts.
  • Delete blog posts: Users can delete their own blog posts.

Technologies Used

  • MongoDB: A NoSQL database for storing blog posts and user data.
  • Express: A web application framework for handling HTTP requests and routes.
  • React: A JavaScript library for building user interfaces.
  • Node.js: A JavaScript runtime environment for running server-side code.

Installation

  1. Clone the repository:

    git clone https://github.com/uzo-felix/blog-App.git
  2. Navigate to the project directory:

cd blog-App
  1. Install the dependencies:
npm install
  1. Set up environment variables:

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

 MONGODB_URI=your-mongodb-connection-string
 SECRET_KEY=your-secret-key
  1. Run the application:
npm start
The app should now be running on http://localhost:3000/.

There are two folders Api and client, install dependencies on both

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please feel free to open an issue or submit a pull request.