crypto-prices-web-app

command module
v0.0.0-...-a308cd9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 8 Imported by: 0

README

crypto-prices-web-app

A web app to track crypto prices.

screenshot

It spawns a thread to update price data every 5 minutes using CoinGecko'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 to setup development environments easily.

Generate index.css file

Run the command below to generate index.css file.

tailwindcss -o index.css -m --content template.html

Start Server

Run the command below to start the server.

go run main.go

Now you can visit localhost:8080/ to see the result.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL