Delivers a timestamp as a JSON. This is just an api. It was developed by me while learning from FreeCodeCamp (FCC).
On the front-end,
- Absolutely nothing
On the back-end,
- app starts at
server.js
- frameworks and packages in
package.json
- Barebones logic in js
- API route in /routes/index.js
Just send a get request to [project URL]/api/ Where:
- is a Long depicting seconds passed from Jan 1, 1970
- OR is a String in the format ONLY (no other format supported)