A simple web app using React Javascript library that uses API from worldtimeapi.org to display time in date-time format
- Install Node JS
- An IDE like Atom or Webstorm
In the commandline,
- Use
npm install
to install the dependencies - Use
npm start
to start react in development mode - The browser would open automatically. If not, go to url: http://localhost:3000
- React components are placed in src/components directory
- App.js file has all the components imported into it. Each component is a section from top of the page and is imported in the order of display in the browser
- React hooks have been used in place of class based components
- Interactive tutorial from scrimba.com - https://scrimba.com/course/glearnreact
- Read more about React framework at https://reactjs.org/ - Official website
As an example for configuration as code using TeamCity as the build system, see settings.kts in .teamcity directory. The significance is that the configuration of a build system can be fully coded and version controlled.