https://github.com/berzanorg/crypto-prices-web-app
A web app to track crypto prices.
https://github.com/berzanorg/crypto-prices-web-app
coingecko crypto webapp
Last synced: 2 months ago
JSON representation
A web app to track crypto prices.
- Host: GitHub
- URL: https://github.com/berzanorg/crypto-prices-web-app
- Owner: berzanorg
- License: mit
- Created: 2023-10-11T12:49:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-11T15:21:17.000Z (over 1 year ago)
- Last Synced: 2025-03-12T23:33:18.490Z (2 months ago)
- Topics: coingecko, crypto, webapp
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crypto-prices-web-app
A web app to track crypto prices.
It spawns a thread to update price data every 5 minutes using [CoinGecko](https://www.coingecko.com/en/api/documentation)'s API.
The template is executed once after each price data update.
HTML content is held in memory, so users can instantly see the content.
## Setup Development Environment
This repo uses [Dev Containers](https://containers.dev/) to setup development environments easily.## Generate `index.css` file
Run the command below to generate `index.css` file.
```sh
tailwindcss -o index.css -m --content template.html
```## Start Server
Run the command below to start the server.
```sh
go run main.go
```
Now you can visit [localhost:8080/](http://localhost:8080/) to see the result.