Skip to content

gnzeleven/Oddly-Satisfying-Clock

Repository files navigation

Oddly Satisfying Clock

A rather unconventional clock inspired by this reddit post. This Single Page Web Application was built using the javascript framework, react.js. Here is the link for the firebase web app.

Demo

Demo That oddly satisfying moment when the clock hits 12 midnight xD

Installation and Setup Instructions

Clone down this repository. You will need node and npm installed globally on your machine.

Installation:

npm install

To Run Test Suite:

npm test

To Start Server:

npm start

To Visit App:

localhost:3000/

Some Reflections

I did this project during the early days of my summer vacation in 2021, partly because I was bored and partly because I wanted to do something - something useful. I did this project to take the basic concepts I knew about react.js home and to implement some new features by refering to the documentation. Plus, it would look good on my portfolio, wouldn't it?

I saw the reddit post I mentioned earlier and wanted to replicate it. But, I didn't know where to start. After some days, thanks to the front page of react, I saw couple of projects that implemented this idea. With them as guidance, I was able to complete this and I was also able to implement some additional features. I started this using the create-react-app boilerplate, then added some components.

One of the main challenges I ran into was implementing the AM/PM toggle. With some thinking, the help of react.js documentation, material-ui documentation, and react-icons documentation and thanks to the usual suspect - stackoverflow, I was able to do this without much of a trouble. Finally, I hosted this app in the cloud platform Firebase.

License

GNU General Public License v3.0