Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nikelborm/metals-service

Service that give metals costs
https://github.com/nikelborm/metals-service

Last synced: 1 day ago
JSON representation

Service that give metals costs

Awesome Lists containing this project

README

        

# Description

Server expect process env variable `PORT` or if unpresent it will run on 3000 port by default

There is available only one single endpoint `/api/metalCosts`

It can be tested in any browser

```javascript
fetch('http://localhost:3000/api/metalCosts').then(res=>res.json()).then(console.log)
```

And also I deployed 1 instance on heroku (it free and will disable if too much queries will be sent)
You can check it by

```javascript
fetch('https://metals-service.onrender.com/api/metalCosts').then(res=>res.json()).then(console.log)
```