Small cmd line application serving as practice for Javascript ES6 iterators, iterables objs and generators.
- List food choices specific to dietary preferences - terminal commands implemented through "event listeners".
- Log Food of different portions - using JS iterators/generators.
- List logged food for a specific day - using yield delegation/composing generator functions.
-
Readline - setup input/output environment.
-
JSON Server - setup a full fake REST API.
-
AXIOS - promise based HTTP client.
Install Dependecies: npm install Install : sudo npm i -g json-server RUN : json-server --watch ./db.json --port 3001 or npm run server AND : npm start