/JSONPlaceholder-clone

clone of JSONPlaceholder.typicode.com using react , axios,express

Primary LanguageJavaScript

React Frontend with Express Backend for JSONPlaceholder Clone

This project is a clone of JSONPlaceholder created using React for the frontend and Express.js for the backend.

Features

  • Mimics the functionalities of JSONPlaceholder API.
  • Allows users to perform CRUD operations on resources like posts, comments, users, etc.
  • Frontend built with React to provide an interactive user interface.
  • Backend built with Express.js to handle API requests and serve data.

Technologies Used

  • React
  • Express.js
  • Axios (for making HTTP requests)
  • Node.js

Installation

To run this project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/your-username/jsonplaceholder-clone.git
  1. Navigate to the project directory:
cd jsonplaceholder-clone
  1. Navigate to the project directory:
cd jsonplaceholder-clone
  1. Install dependencies for both frontend and backend:
cd frontend
npm install
cd ../backend
npm install
  1. Start the backend server:
cd /backend
node app.js

  1. Start the frontend development server:
cd ../frontend
yarn dev