Skip to content

lhbelfanti/timer

Repository files navigation

Repository logo

Timer

Simple countdown timer

➥ Live Demo

Repo size License


Countdown Timer

Timer project preview

Preview

Timer project preview

Tech stack

  • Typescript
  • React
  • React Redux
  • Material UI

How is it composed?

This is a Single Page Application, so, it has a main component called TimerPage and that page has 3 different sections:

  • CountdownInputSection in charge of the top part of the timer. It handles the start of the timer.
  • CoundownInputSection the primary element. It shows the timer, the info panels and handles the pause and resume actions.
  • MultipliersSection the last of the sections that handles the change of the speed of the timer.

A deeper explanation in the following image.

Components explanation

Redux setup

All the classes for the redux setup are inside the state folder.

Basically, there are 4 different Action Creators, that trigger an Action, using the different Action Types. Those actions are received by the Reducers and using the data of the payload, it changes the Redux Store variables.

See the following image to get a deeper insight of the setup.

Redux setup

Configuration values

All the configuration values are defined in a single config.json. All the properties have a self-explanatory name.


License

MIT

About

Simple countdown timer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published