https://github.com/eiselems/timestamp-microservice
NodeJS Service which converts timestamps and dates
https://github.com/eiselems/timestamp-microservice
Last synced: 8 months ago
JSON representation
NodeJS Service which converts timestamps and dates
- Host: GitHub
- URL: https://github.com/eiselems/timestamp-microservice
- Owner: eiselems
- License: other
- Created: 2016-03-22T06:29:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-06T15:44:23.000Z (almost 10 years ago)
- Last Synced: 2025-03-04T15:35:12.347Z (over 1 year ago)
- Language: CSS
- Homepage: https://date-microservice.herokuapp.com/
- Size: 182 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Timestamp microservice
## Overview
This is part of the FCC Curriculum.
I wrote this microservice to get familiar with NodeJS and Heroku as a hosting platform.
Test Installation: https://date-microservice.herokuapp.com/
Functionality:
* pass a string containing either an Unix timestamp or a natural language date (e.g. January 1, 2016)
* The service returns both form for the supplied date
* In case the date is invalid the returned properties are `null`
The microservice
# Quick Start Guide
### Starting the App
At first clone the repository and get into the repository's folder.
Install the app by running:
`npm install`
To start the app, make sure you're in the project directory and type `node server.js` into the terminal. This will start the Node server.
You should the following messages within the terminal window:
```
Node.js listening on port 8080...
```
Next, open your browser and enter `http://localhost:8080/`. Congrats, you're up and running!
## License
MIT License. [Click here for more information.](LICENSE.md)