Summary.
Draw a clock using the canvas API from HTML5.
Description. Uses nodejs and express to start a web server and send an html page and a javascript file to the client.
- Advantages: no need for an apache server.
Documentation: - Ubuntu: - sudo apt install jsdoc-toolkit - MacOS: - sudo port install npm6 (or npm7) - sudo npm install -g jsdoc - npm install express - jsdoc -d docjs app.js - node app.js &
- Since:
- 22/04/2021
- Source:
- See:
-
- http://localhost:3000
- https://www.techiediaries.com/express-sendfile-serve-static-files/
- https://dev.to/kyorkston/making-an-html5-canvas-app-using-express-431l
- http://expressjs.com/en/api.html
- https://nodejs.dev/learn/update-all-the-nodejs-dependencies-to-their-latest-version
- https://nodejs.org/api/process.html#process_process_env