This project is a simple demo of a React backoffice system with the following features:

  • Public login page and private pages
  • CRUD pages for customers and products, with infinite scroll pagination

It can be used as a seed for other projects, since it is very unopinionated. Only React and a few libraries have been used. The included technologies and libraries are:

  • React
  • Redux
  • SASS
  • Typescript
  • Axios

It uses JSON-Server as a mocked backend server and Faker for database generation.

Installation

Just run from the project directory:

yarn

Running

Just run from the project directory:

yarn start

To run the unit tests, run:

yarn test

Regenerating database

The database can be regenerated with the following command:

yarn create-db