This is a pretty simple Node.js exercise, the goal is to:
- Test your Node.js installation
- Setup Git practices (branches & pull requests)
- Get a first feeling of Node.js
Create a program that writes the current time stamp to a file every second. You have succeeded if the end file looks like:
1526136935103
1526136936103
1526136937102
You will need to use Node.js' fs module, the Date object and a way to call a function every second.
- Get a copy of this repository
- Clone it on your computer
- Create a new branch for your work
- Initialize a new Node.js project
- Create an index.js file to write your code
- Run your program and check the result
- Commit and push your changes
- Visit your GitHub repository to create a pull request