Skip to content

Vasyl-Pavlenko/travel-blog-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Blog Frontend

Welcome to the MERN (MongoDB, Express, React, Node.js) Blog Frontend repository! This repository contains the frontend code for the MERN blog application. The frontend is responsible for displaying blog posts, allowing users to register and log in, creating and editing posts, and interacting with comments.

Link to backend

Link

Prerequisites

Before you begin, make sure you have the following installed:

  • Node.js (v14 or higher) is installed on your machine.

Getting Started

  1. Clone the repository to your local machine:
git clone https://github.com/Vasyl-Pavlenko/travel-blog-front.git
cd mern-blog-frontend
npm install
npm start
  1. The application will be accessible at http://localhost:3000 in your browser.

Features

User registration and login functionality

Displaying a list of blog posts

Viewing individual blog posts

Creating new blog posts

Editing and deleting existing blog posts

Adding and viewing comments on blog posts

Technologies Used

React.js for building user interfaces

Redux Toolkit for state management

React Router for routing

Tailwind for styling

Axios for making API requests

React icons

React moment

React toastify

Usage

Register or log in to access the dashboard.

View the list of blog posts on the home page.

Click on a post to view its details.

Create a new post by clicking the "Create Post" button on the dashboard.

Edit or delete your own posts using the respective options.

Add and view comments on blog posts.

Contributing

Contributions are welcome! If you find any issues or want to enhance the project, feel free to create a pull request. Please ensure your code follows best practices and includes appropriate tests.

License

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