Implement all the functions provided according to the type definitions in this documentation.
You must submit the implementation of your functions via Ed to check whether they are correct.
As an extension activity for this task you should create this application as an API for managing customers and orders that could be connected to a website or mobile application front-end.
See https://coderacademyedu.github.io/drink-shop/docs/
- Clone the repository:
git clone https://github.com/nclarx/test-esdoc- Run
npm startto install dependencies and run the server, then navigate to http://localhost:8000 in your web browser.
ALTERNATIVELY
- Run
npm installand thennpx http-server ./doc -p 8000.
The documentation website is generated from the JavaScript file in the src folder. The syntax used is JSDoc and ESDoc is the tool used to compile the JSDoc annotations into a webpage.
To compile the documentation yourself:
-
Run
npm install -
Run
px esdoc -c ./esdoc-config.json
Check out esdoc-config.json for the configuration of ESDoc.