Skip to content

This React.js project uses custom APIs without a database, demonstrating GET and POST requests with the Fetch API. It shows how to fetch and submit data in a React application using simple JavaScript.

Notifications You must be signed in to change notification settings

GowthamSelvaraj123/ReactLocalAPIData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Screenshot

http://localhost:3000/places - Below the JSON screenshot in backend server

Another Screenshot

React.js Project with Custom APIs Using Fetch

Description

This project is a React.js application that demonstrates how to use custom APIs without a database. It focuses on using GET and POST methods with the Fetch API to fetch and submit data. The APIs serve hardcoded data, allowing you to explore basic client-server communication in a React environment.

Features

  • Uses custom APIs with no database.
  • Demonstrates GET and POST requests using the Fetch API.
  • Simple client-server interaction with hardcoded data.

Technologies Used

  • Frontend: React.js, JavaScript (ES6+), CSS
  • Backend: Custom APIs using plain JavaScript

How to Run

  1. Clone the repository:
    git clone <repository-url>
  2. Navigate to the project directory:
    cd react-js-custom-api
  3. Install dependencies:
    npm install
  4. Start the application:
    npm start
  5. Open your browser and navigate to http://localhost:3000 to see the application in action.

Usage

The project demonstrates basic GET and POST requests. Use the Fetch API in the frontend to interact with the custom backend APIs.

License

This project is open-source and available under the MIT License.

About

This React.js project uses custom APIs without a database, demonstrating GET and POST requests with the Fetch API. It shows how to fetch and submit data in a React application using simple JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published