Skip to content

Build a full stack JavaScript application that processes and returns Unix and UTC timestamps for given dates, similar to the FreeCodeCamp Timestamp Microservice project.

Notifications You must be signed in to change notification settings

fahimahammed/timestamp-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timestamp Microservice

Build a full stack JavaScript application that processes and returns Unix and UTC timestamps for given dates, similar to the FreeCodeCamp Timestamp Microservice project.

Features

  • Timestamp Conversion:

    • Accepts a date string as a parameter and returns both Unix and UTC timestamps.
  • Date Parsing:

    • Parses incoming date strings using new Date() assuming GMT dates.
  • UI/UX:

    • Design a straightforward interface for entering dates and displaying timestamps.

Tech Stack

  • Frontend: HTML, CSS (Bootstrap recommended), JavaScript (React or plain JS)
  • Backend: Node.js, Express.js

Example Output

For a valid date string input, return:

{
  "unix": 1483228800000,
  "utc": "Sun, 01 Jan 2017 00:00:00 GMT"
}

Usage

  • Access the deployed application and enter a date string to get its corresponding Unix and UTC timestamps.

Acknowledgements

  • Built with guidance from the FreeCodeCamp Timestamp Microservice project.
  • Inspiration and learning resources from the FreeCodeCamp community.

This is the project code for the Timestamp Microservice project. Instructions for building your project can be found at https://www.freecodecamp.org/learn/apis-and-microservices/apis-and-microservices-projects/timestamp-microservice

About

Build a full stack JavaScript application that processes and returns Unix and UTC timestamps for given dates, similar to the FreeCodeCamp Timestamp Microservice project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published