http://localhost:3000/places - Below the JSON screenshot in backend server
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.
- Uses custom APIs with no database.
- Demonstrates
GET
andPOST
requests using the Fetch API. - Simple client-server interaction with hardcoded data.
- Frontend: React.js, JavaScript (ES6+), CSS
- Backend: Custom APIs using plain JavaScript
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd react-js-custom-api
- Install dependencies:
npm install
- Start the application:
npm start
- Open your browser and navigate to
http://localhost:3000
to see the application in action.
The project demonstrates basic GET
and POST
requests. Use the Fetch API in the frontend to interact with the custom backend APIs.
This project is open-source and available under the MIT License.