Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benhalverson/eth-tracker
https://github.com/benhalverson/eth-tracker
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/benhalverson/eth-tracker
- Owner: benhalverson
- Created: 2022-03-27T07:06:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T05:30:48.000Z (over 1 year ago)
- Last Synced: 2024-04-11T16:12:19.776Z (7 months ago)
- Language: TypeScript
- Size: 265 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# setup
rename .env.local to .env
`npm i`
`npm run dev`
# install twillio cli
`npm install -g twilio-cli`
`twilio login`
`twilio phone-numbers:update "+TWILIO_NUMBER" --sms-url="http://localhost:3000/sms"`
see the docs for more info
https://www.twilio.com/docs/twilio-cli/quickstartin one terminal run `npm run dev` to start the local server
in another terminal run `twilio phone-numbers:update "+TWILIO_NUMBER" --sms-url="http://localhost:3000/sms"`
in another terminal start docker with a redis instance `docker run --name my-redis -p 6379:6379 -d redis`send a text messsage with track eth 1000 to your twilio number
The app will respond with the current price of ETH in USD and the price of ETH in USD at the time the message was sent.