feat: complete phase 0
This commit is contained in:
18
TODO.md
18
TODO.md
@@ -12,21 +12,21 @@ A detailed, actionable task list for building a unified, multi-radar severe weat
|
||||
- [x] `git init`
|
||||
- [x] Create a `.gitignore` file for Go and common OS files.
|
||||
- [x] Create a `README.md` with the project's mission statement.
|
||||
- [ ] **Establish Go Project Structure:**
|
||||
- [ ] `go mod init github.com/blakeridgway/heloha`
|
||||
- [ ] Create a standard Go project layout:
|
||||
- [x] **Establish Go Project Structure:**
|
||||
- [x] `go mod init github.com/blakeridgway/heloha`
|
||||
- [x] Create a standard Go project layout:
|
||||
- `/cmd/heloha-server`: Main application entry point.
|
||||
- `/internal/radar`: Code for fetching, parsing, and processing radar data.
|
||||
- `/internal/server`: HTTP handlers and server logic.
|
||||
- `/internal/config`: Configuration management.
|
||||
- `/web/templates`: HTML templates for the frontend.
|
||||
- `/web/static`: CSS and JavaScript assets.
|
||||
- [ ] **Create a Basic Web Server:**
|
||||
- [ ] In `/cmd/heloha-server/main.go`, set up an `http.Server`.
|
||||
- [ ] Choose and implement a router (e.g., `go-chi/chi` is a good choice for middleware and flexibility).
|
||||
- [ ] Create a simple `/healthz` endpoint that returns `200 OK`.
|
||||
- [ ] **Set Up Build Automation:**
|
||||
- [ ] Create a `Makefile` with targets for:
|
||||
- [x] **Create a Basic Web Server:**
|
||||
- [x] In `/cmd/heloha-server/main.go`, set up an `http.Server`.
|
||||
- [x] Choose and implement a router (e.g., `go-chi/chi` is a good choice for middleware and flexibility).
|
||||
- [x] Create a simple `/healthz` endpoint that returns `200 OK`.
|
||||
- [x] **Set Up Build Automation:**
|
||||
- [x] Create a `Makefile` with targets for:
|
||||
- `build`: `go build -o bin/heloha-server ./cmd/heloha-server`
|
||||
- `run`: `go run ./cmd/heloha-server`
|
||||
- `test`: `go test ./...`
|
||||
|
||||
Reference in New Issue
Block a user