Skip to content

This React application enables users to seamlessly add, edit, and delete posts directly from a JSON file. The JSON file must be launched to ensure the app functions properly.

Notifications You must be signed in to change notification settings

vishal48-tech/react_posts_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Blog Application Documentation

This documentation provides an overview of the React Blog Application, highlighting its key features, structure, and functionality. The application allows users to create, view, edit, and delete blog posts. It utilizes React for the frontend, Easy Peasy for state management, and Axios for API requests.

Key Features

  • Create Posts: Users can add new blog posts.
  • View Posts: Users can view a list of posts and individual post details.
  • Edit Posts: Users can edit existing posts.
  • Delete Posts: Users can delete posts.
  • Search Posts: Users can search for posts by title.

Project Structure

The application's codebase is organized into several key directories and files:

  • src/: Contains the React components and the main application logic.
  • public/: Contains static assets like index.html, manifest.json, and robots.txt.
  • data/db.json: Acts as a mock database for storing posts.

Running the Application

To run the application, use the following commands:

  • npm start: Runs the app in development mode.
  • npm run build: Builds the app for production. Refer to package.json for more scripts and dependencies.

Conclusion

This React Blog Application demonstrates key concepts in React development, including component-based architecture, state management with Easy Peasy, and routing with React Router. It serves as a practical example for building CRUD applications with React.

About

This React application enables users to seamlessly add, edit, and delete posts directly from a JSON file. The JSON file must be launched to ensure the app functions properly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published