Mock REST Backend Server for Angular and React Applications.

As I promised to continue the Angular/Ionic project series, as a developer perspective mock server is the most important to progress the development. We should not depend on the production or development API for front-end development. This post is about creating a simple Node Express server with mock JSON object files. You can import the project to any of the front-end applications like Angular, React, Ionic and VueJS projects.

userData.json
Copy the user data response from the production API for mock testing. Here is the live API URL for login https://api.thewallscript.com/restful/login you will find this when you access Banana Ionic project.