Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hoangph271/pricer


https://github.com/hoangph271/pricer

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

- Create a `.env` file based on `.env.example`

- Create `pages/api/coins/_paid_entries` module as following:

```ts
export const paidEntries: Record = {
BTC,
ETH,
// ...Other coins/tokens
}

// With PaidEntry:
type PaidEntry = {
name: string,
date: string,
amountUsd: number,
amount: number
}
```

- Run `pnpm deploy:latest`