- NodeJS version 16 or greater as the Server
- Express for RESTful Routes
- Morgan for Logging
- Mocha, Chai, NYC for Testing
- Check the version of node with
node -v
if it is less than 16 use nvm to install version 16
You can check if you have nvm installed withnvm -vif this returns the version of nvm
you can then usenvm install 16
then issue this commandnvm alias default 16If you don't have nvm installed I suggest that you install it because it is by far the easiest way to switch between version of NodeJS. - Run
npm installto load the dependencies. - Now
npm startwill start the server onport 8082
Simple API server using volatile storage. Data will be stored in an array on the server.