Skip to content

Sample frontend project with Clean Architecture using React.js and jest.

License

Notifications You must be signed in to change notification settings

t-tiger/React-CleanArchitecture-Example

Repository files navigation

React Clean Architecture Example

Introducing Clean Architecture will make application sustainable and improve testability. We can receive the benefits of Clean Architecture not only for backend app but also for the frontend app.

This project introduces Clean Architecture in frontend and executes unit test using mock in each layer.

How to run

Here's how to actually run this project.

Mock Server

There is a flow to fetch some data in frontend, for that preparing a mock server to send temporary data.

$ cd mock_server 
$ yarn
$ yarn start

Frontend

$ yarn install
$ yarn start

Then open http://localhost:1234 in your browser.

About

Sample frontend project with Clean Architecture using React.js and jest.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published