This project is developed to show how fetch api works using JSONPlaceholder which is a free online REST service that you can use whenever you need some fake data. Also a text file with json data is used to ilustrate the Api functionality
-
Basics of Fetch API Fetch API - Web APIs
-
Javascript ES6 ES6
-
Using JSONPlaceholder JSONPlaceholder
Make sure you have Node.js and npm installed.
-
Clone or Download the repository
$ git clone https://github.com/wmuza/Fetch-API.git $ cd Fetch-API
-
Install and Update Dependencies
$ npm install
-
Start the application
$ node index.js
Your app should now be running on localhost.
Having trouble with Pages? Feel free to send me a mail at [email protected]