Skip to content

ImanNazirah/demo-ts-rxjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript and RxJS API Interaction Example

Overview

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.

Run Application

  1. Create .env file and add domain URI as below

     API_BASE_URL=https://jsonplaceholder.typicode.com
    
  2. Ensure the script has executable permissions, then run the following command to generate file build-and-run.log

     ./run.sh

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors