Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: release the clicker in Astro #29

Closed
11 tasks done
GalvinPython opened this issue Mar 31, 2024 · 0 comments · Fixed by #30
Closed
11 tasks done

feat: release the clicker in Astro #29

GalvinPython opened this issue Mar 31, 2024 · 0 comments · Fixed by #30
Assignees

Comments

@GalvinPython
Copy link
Member

GalvinPython commented Mar 31, 2024

Why Astro?
Astro is something I want to explore further, better for statically designed sites such as this one, and most importantly won't crash my web server unlike NextJS

Here is what is needed

Client

  • Odometer
  • Chart to show clicks increasing
  • Button to increase the counter
  • An analytics page (To come in V2)

API

  • Swagger
  • Increase the clicks
  • Get the number of clicks

Server

  • SQLite3 Database to store the analytics
  • Store the count every minute and save it to the analytics database
  • Save the current count every 100ms to a text file
  • Read the text file every time "/clicks" is called
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant