https://github.com/blockstarter/rate-server
Blockstarter's rate server to store and provide historical rates
https://github.com/blockstarter/rate-server
Last synced: about 1 year ago
JSON representation
Blockstarter's rate server to store and provide historical rates
- Host: GitHub
- URL: https://github.com/blockstarter/rate-server
- Owner: blockstarter
- Created: 2017-09-16T01:22:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-16T01:32:07.000Z (over 8 years ago)
- Last Synced: 2025-01-21T06:11:52.979Z (over 1 year ago)
- Language: LiveScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blockstarter's Rates Server
### Setup
```
npm i livescript forever -g
npm i
```
### Start for debug
```
lsc server
```
### Start forever
```
lsc -c server.ls
forever start server.js
```
### Usage
```
GET \/get-closest/:date
```
```
POST \/insert
{
date: new Date(),
rates: { ... }
}
```