A tool built to... Achieve!
- node
- npm
npm install
npm run build && npm run serve
or
npm start
In a terminal window:
npm run watch
And in another:
npm run serve
Go to localhost:3000.
node server/cli.js
- time set in sequence, when it send 4 it triggers the "send to server" routine (not ready yet, of course)
node server/cli.js <keyword> <00:00>
- specific time set, for a period specified in the keyword (buggy, see below)
node server/cli.js clear
- clear times (there are some other keywords for this as well)
- Integrate backend call to send date/time
- Integrate backend call to verify times for a day (hopefully to retrieve the hours for a week as well, maybe in another call)
- Command-line tool (the sequential time set works fine but the specific time set clears other times when it shouldn't)
- Env vars for server address and login info (actual implementation, example file created and package dotenv installed)