Timestamp Microservice

A full stack Timestamp Microservice api project to get unix and UTC timestamp from a date string.

Technologies

Project is created with :

  • Express: 4.16.4
  • Node: 4.4.5

Install

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/1XWebbyX1/timestamp-microservice

# Go into the repository
$ cd timestamp-microservice

# Install dependencies
$ npm install

# Run the app
$ npm start

You will then be able to access it at localhost:3000

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

How to Use

Example Usage: GET [project url]/api/timestamp/2015-12-25 GET project url]/api/timestamp/1450137600

Example Output: {"unix":1451001600000, "utc":"Fri, 25 Dec 2015 00:00:00 GMT"}

You may also like

Inspiration

This Project was inspired by user stories at freeCodeCamp.

License

MIT


GitHub @1XWebbyX1