raaynaldo / rtk-query-setup-tutorial

rtk-query-setup-tutorial
16 stars 15 forks source link

RTK Query Setup Tutorial

Getting Start

Install all Packages

npm install

Run the project

npm start

Runs the app in the development mode.\ Open http://localhost:8001 to view it in your browser.

json-server will serve in http://localhost:8000

json-server Routes

GET     /Albums
GET     /Albums/1
POST    /Albums
PUT     /Albums/1
DELETE  /Albums/1

Access the data in db.json file