An open API service indexing awesome lists of open source software.

https://github.com/autumnchris/timestamp-api

An Express.js API that converts a given calendar date to its affiliated timestamp and vice versa.
https://github.com/autumnchris/timestamp-api

api css3 ejs ejs-express express expressjs freecodecamp javascript momentjs nodejs timestamp-api timestamp-microservice timestamp-microservice-challenge

Last synced: about 1 year ago
JSON representation

An Express.js API that converts a given calendar date to its affiliated timestamp and vice versa.

Awesome Lists containing this project

README

          

# Timestamp API

An Express.js API that converts a given calendar date to its affiliated timestamp and vice versa.

Inspired by the [Timestamp Microservice challenge](https://learn.freecodecamp.org/apis-and-microservices/apis-and-microservices-projects/timestamp-microservice) as part of the curriculum for the [Back End Development and APIs Certification](https://www.freecodecamp.org/learn/back-end-development-and-apis) on [freeCodeCamp](https://www.freecodecamp.org).

---

## Built With
* [Express.js](https://expressjs.com)
* [Node.js](https://nodejs.org/en)
* [EJS](https://ejs.co)
* HTML5
* CSS3
* JavaScript
* Vanilla JS
* [Moment.js](https://momentjs.com)
* [Normalize.css](https://necolas.github.io/normalize.css)
* [Google Fonts](https://fonts.google.com)
* [Font Awesome](https://fontawesome.com)
* [nodemon](https://nodemon.io)

## Demo

View project demo at [https://autumnchris-timestamp-api.onrender.com/api](https://autumnchris-timestamp-api.onrender.com/api).

## Instructions

After forking and cloning, navigate to the repository in your command line and install the NPM packages:
```
npm install
```

Run the following script in your command line if starting the repository in development mode:
```
npm run dev
```

Run the following script in your command line if starting the repository in production mode:
```
npm start
```

Once the server is running, go to `http://localhost:3000` in your browser.