Build a full stack JavaScript application that processes and returns Unix and UTC timestamps for given dates, similar to the FreeCodeCamp Timestamp Microservice project.
-
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.
- Parses incoming date strings using
-
UI/UX:
- Design a straightforward interface for entering dates and displaying timestamps.
- Frontend: HTML, CSS (Bootstrap recommended), JavaScript (React or plain JS)
- Backend: Node.js, Express.js
For a valid date string input, return:
{
"unix": 1483228800000,
"utc": "Sun, 01 Jan 2017 00:00:00 GMT"
}
- Access the deployed application and enter a date string to get its corresponding Unix and UTC timestamps.
- 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