/timeStamp

timestamp api for portfolio

Primary LanguageJavaScript

timeStamp

First project on this list and part of my effort to build a better back-end portfolio. API uses new Date() to take the input, entered after the root URL (localhost:3000/2015-01-01), and return a response with an object containing UNIX and UTC timestamps. If left blank, the current time will be used. Blank inputs are handled by running a seperate function when requests are made to localhost:3000//.

Unit tests can be ran with npm test.