Skip to content

adripanico/ts-react-redux-fetch

Repository files navigation

TS + React + Redux + Fetch

Live demo

Stack

This project is a basic React application written entirely in TypeScript. The scaffolding has been done with the template provided by Vite.

The application performs requests to a public API using the standard Fetch API and uses Redux Toolkit and React Redux to handle the received data and deal with pagination and search capabilities.

CSS modules have been used for better isolation of styles. All the class definitions have been written using SASS with SCSS syntax.

React router is used to deal with application routing.

For code syntax and format analysis, the application is using ESLint and prettier.

Online playground

You can mess around with this code on StackBlitz.

Development

Clone the repo, install the dependencies and run it:

$ npm i
$ npm run dev

The application will be available in http://localhost:5173.