No description
Find a file
2025-06-15 15:48:54 +02:00
.gitignore Initial commit: Web development playground 2025-06-14 01:38:32 +02:00
account.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
ajax.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
CLAUDE.md remove outdated info from CLAUDE.md 2025-06-15 15:48:54 +02:00
dark-mode.js Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
echo-test.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
go-cheatsheet.md Add Go patterns cheat sheet 2025-06-14 15:17:24 +02:00
go.mod Initial commit: Web development playground 2025-06-14 01:38:32 +02:00
go.sum Initial commit: Web development playground 2025-06-14 01:38:32 +02:00
index.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
items.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
main.go Add mining resource system with background updates 2025-06-14 03:29:29 +02:00
mining.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
random.html Fix dark mode flash by inlining critical script 2025-06-14 04:09:18 +02:00
README.md Add README.md with project overview and architecture 2025-06-14 15:16:17 +02:00
styles.css WIP: Dark mode implementation in progress 2025-06-14 04:02:10 +02:00

Web Development Playground

This project has two main goals:

  1. Learn web development basics - Practice HTML, CSS, and vanilla JavaScript with a simple backend that has low dependencies and is easy to run
  2. Build minimal examples - Create the basic features needed for a hobby browser game project

Architecture

This repository contains the HTML/CSS/JavaScript frontend and Go backend code. The full setup relies on external components not included in this repo:

  • Caddy webserver - Serves the HTML/CSS/JS files directly and handles authentication
  • Authelia - Provides user authentication and session management
  • Reverse proxy - API requests are forwarded from Caddy to the running Go executable

Learning Focus

This is a learning project that prioritizes readability and simplicity over "best practices" or complex patterns. No massive dependencies or frameworks will be introduced - keeping everything straightforward and easy to understand.

The project includes cheat sheets explaining common patterns used:

  • Go patterns commonly found in this codebase (for those less familiar with Go)
  • JavaScript patterns may be added if needed