Setup Local JSON Server to Test Your App!

Опубликовано: 03 Апрель 2025
на канале: iOS eTutorials
18,453
83

This is a tutorial to help iOS developers or other developers to setup local JSON server, so that the client code can be tested to see if we are consuming the web service correctly or not.

The steps to set everything up:
1. open terminal
2. install brew
3. use brew to install npm
4. use npm to install json-server
5. create your json file and run on json-server

Related links:
1. HomeBrew: https://brew.sh/
2. NPM: https://www.npmjs.com/
3. Json-Server: https://github.com/typicode/json-server
4. Default Json link after your run Json-Server: http://localhost:3000/db

All my open source code: https://github.com/SheldonWangRJT?tab...

Please leave any comments and subscribe for the whole series.

Also follow my social account:
Facebook:   / iosetutorial  
Twitter:   / sheldonwaaaaang  
Github: https://github.com/SheldonWangRJT

To donate to me, please use the following Paypal link:
https://www.paypal.com/us/cgi-bin/web...