Skip to content

elpezpr/PostShare-FrontEnd

Repository files navigation

*** Project Description ***

The PostShare frontend is a React-based application designed to interact with the PostShare backend. It provides a dynamic and responsive user interface for managing posts and comments on a social media platform. Users can view, add, and update posts, as well as post comments.

*** Features ***

Home Page: Displays a list of all posts with options to view details or navigate to forms for adding or updating posts.

Post Detail: Shows detailed information about a specific post, including its content, author, and associated comments. Users can add new comments to the post.

Add Post Form: Allows users to create and submit new posts by entering a title, content, and author details.

Update Post Form: Provides functionality to update an existing post's content by entering the post ID and new content.

Navbar: Offers navigation links to the home page, the add post form, and the update post form.

*** Technologies Used ***

React
React Router
JavaScript (ES6+)
CSS Modules

*** Development Tools ***

Visual Studio Code
GitHub
Browser Developer Tools

*** Usage ***

To use the PostShare frontend application:

1. Clone the repository.

2. Install Dependencies: Navigate to the project directory and run `npm install` to install the necessary dependencies.

3. Start the Development Server: Run `npm run dev` to start the development server.

4. Interact with the Application: Use the user interface to:
   - View a list of all posts on the Home Page.
   - Click on a post to see its details and add comments.
   - Navigate to the 'Add Post' form to create a new post.
   - Navigate to the 'Update Post' form to update an existing post's content.

Ensure that the backend service is running to interact with the full functionality of the frontend.

*** Resources ***

https://reactjs.org/
https://reactrouter.com/
https://developer.mozilla.org/en-US/docs/Web/JavaScript
https://css-tricks.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published