Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lauti7/timestamp-microservice
Simple Timestamp MIcroservice
https://github.com/lauti7/timestamp-microservice
express javascript nodejs time timestamp
Last synced: about 1 month ago
JSON representation
Simple Timestamp MIcroservice
- Host: GitHub
- URL: https://github.com/lauti7/timestamp-microservice
- Owner: lauti7
- Created: 2020-04-04T06:01:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-04T06:27:37.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T17:58:41.644Z (3 months ago)
- Topics: express, javascript, nodejs, time, timestamp
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Timestamp Microservice
## What is this?
It is a Simple API built with Node JS and Express.
API has only one GET route that return JSON response with Unix time and UTC time.
- */api/timestamp/:date*.
---
Date param is able to receive two date formats:
- Y-M-D
- Unix Timestamp (10 or 13 digits).---
## QuickStart
Run `git clone https://github.com/lauti7/timestamp-microservice.git`.
Then, `npm install --save`.
Finally, `node index.js` or if you have Nodemon installed Globally `nodemon index.js`.---
## License
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)
- **[MIT license](http://opensource.org/licenses/mit-license.php)**