This project demonstrates how to interact with a RESTful API using TypeScript and RxJS. It showcases various techniques for fetching, processing, and transforming data from the JSONPlaceholder API. Key functionalities include:
- Fetching Data: Retrieves data from the JSONPlaceholder API.
- RxJS Integration: Utilizes RxJS for handling asynchronous data streams and operations.
- Data Processing: Includes examples of data transformation, sorting, and filtering.
- Error Handling: Demonstrates error handling with RxJS and TypeScript.
-
Create .env file and add domain URI as below
API_BASE_URL=https://jsonplaceholder.typicode.com
-
Ensure the script has executable permissions, then run the following command to generate file build-and-run.log
./run.sh