Angular 15 Setup Mock API and consume and return data
May 1, 2023 · 7 min read
In this post, You will learn how to create a Simple mock API to return json data in an Angular application without creating a backend API Sometimes, We want to test data components using API code, if there is no backend code, This tutorial explains How to create a Backend REST API for mock data which returns json objects in the Angular application. First Create an angular application First, check angular CLI or not using ng -version...