- browser
- cross-fetch
- jest
- isomorphic
- rest
- starter
- template
npm i
Open index.html with your browser.
In browser console: getRequest('https://jsonplaceholder.typicode.com/posts/1'), postRequest('https://jsonplaceholder.typicode.com/posts'), putRequest('https://jsonplaceholder.typicode.com/posts/1') or deleteRequest('https://jsonplaceholder.typicode.com/posts/1')
In first command prompt run server: npm start
In second command prompt run tests: npm run test
Licensed under the MIT license.