From 0b29602cb870741ea761fd25db1e01fc2ac78956 Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Fri, 13 Jun 2025 15:00:43 -0700 Subject: [PATCH] (CHORE): Created the directories based on the structure defined before. Pretty sure everything needed is here, next step is beginning implementation! Finally, jesus. --- cmd/web/main.go | 0 internal/app/handlers/recipe_handler.go | 0 internal/app/handlers/user_handler.go | 0 internal/app/server/server.go | 0 internal/app/services/recipe_service.go | 0 internal/app/services/user_service.go | 0 internal/domain/recipe/recipe.go | 0 internal/domain/recipe/repository.go | 0 internal/domain/recipe/service.go | 0 internal/domain/user/repository.go | 0 internal/domain/user/service.go | 0 internal/domain/user/user.go | 0 .../database/migrations/001_create_users_table.go | 0 .../database/postgres/recipe_repository.go | 0 .../database/postgres/user_repository.go | 0 internal/templates/components/button.templ | 0 internal/templates/components/button_templ.go | 10 ++++++++++ internal/templates/layouts/app_layout.templ | 0 internal/templates/layouts/app_layout_templ.go | 10 ++++++++++ internal/templates/pages/home.templ | 0 internal/templates/pages/home_templ.go | 10 ++++++++++ internal/templates/partials/row.templ | 0 internal/templates/partials/row_templ.go | 10 ++++++++++ web/static/css/style.css | 0 web/static/img/.gitkeep | 0 25 files changed, 40 insertions(+) create mode 100644 cmd/web/main.go create mode 100644 internal/app/handlers/recipe_handler.go create mode 100644 internal/app/handlers/user_handler.go create mode 100644 internal/app/server/server.go create mode 100644 internal/app/services/recipe_service.go create mode 100644 internal/app/services/user_service.go create mode 100644 internal/domain/recipe/recipe.go create mode 100644 internal/domain/recipe/repository.go create mode 100644 internal/domain/recipe/service.go create mode 100644 internal/domain/user/repository.go create mode 100644 internal/domain/user/service.go create mode 100644 internal/domain/user/user.go create mode 100644 internal/infrastructure/database/migrations/001_create_users_table.go create mode 100644 internal/infrastructure/database/postgres/recipe_repository.go create mode 100644 internal/infrastructure/database/postgres/user_repository.go create mode 100644 internal/templates/components/button.templ create mode 100644 internal/templates/components/button_templ.go create mode 100644 internal/templates/layouts/app_layout.templ create mode 100644 internal/templates/layouts/app_layout_templ.go create mode 100644 internal/templates/pages/home.templ create mode 100644 internal/templates/pages/home_templ.go create mode 100644 internal/templates/partials/row.templ create mode 100644 internal/templates/partials/row_templ.go create mode 100644 web/static/css/style.css create mode 100644 web/static/img/.gitkeep diff --git a/cmd/web/main.go b/cmd/web/main.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/app/handlers/recipe_handler.go b/internal/app/handlers/recipe_handler.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/app/handlers/user_handler.go b/internal/app/handlers/user_handler.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/app/server/server.go b/internal/app/server/server.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/app/services/recipe_service.go b/internal/app/services/recipe_service.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/app/services/user_service.go b/internal/app/services/user_service.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/domain/recipe/recipe.go b/internal/domain/recipe/recipe.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/domain/recipe/repository.go b/internal/domain/recipe/repository.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/domain/recipe/service.go b/internal/domain/recipe/service.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/domain/user/repository.go b/internal/domain/user/repository.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/domain/user/service.go b/internal/domain/user/service.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/domain/user/user.go b/internal/domain/user/user.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/infrastructure/database/migrations/001_create_users_table.go b/internal/infrastructure/database/migrations/001_create_users_table.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/infrastructure/database/postgres/recipe_repository.go b/internal/infrastructure/database/postgres/recipe_repository.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/infrastructure/database/postgres/user_repository.go b/internal/infrastructure/database/postgres/user_repository.go new file mode 100644 index 0000000..e69de29 diff --git a/internal/templates/components/button.templ b/internal/templates/components/button.templ new file mode 100644 index 0000000..e69de29 diff --git a/internal/templates/components/button_templ.go b/internal/templates/components/button_templ.go new file mode 100644 index 0000000..1d1995d --- /dev/null +++ b/internal/templates/components/button_templ.go @@ -0,0 +1,10 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.3.865 + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +var _ = templruntime.GeneratedTemplate \ No newline at end of file diff --git a/internal/templates/layouts/app_layout.templ b/internal/templates/layouts/app_layout.templ new file mode 100644 index 0000000..e69de29 diff --git a/internal/templates/layouts/app_layout_templ.go b/internal/templates/layouts/app_layout_templ.go new file mode 100644 index 0000000..1d1995d --- /dev/null +++ b/internal/templates/layouts/app_layout_templ.go @@ -0,0 +1,10 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.3.865 + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +var _ = templruntime.GeneratedTemplate \ No newline at end of file diff --git a/internal/templates/pages/home.templ b/internal/templates/pages/home.templ new file mode 100644 index 0000000..e69de29 diff --git a/internal/templates/pages/home_templ.go b/internal/templates/pages/home_templ.go new file mode 100644 index 0000000..1d1995d --- /dev/null +++ b/internal/templates/pages/home_templ.go @@ -0,0 +1,10 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.3.865 + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +var _ = templruntime.GeneratedTemplate \ No newline at end of file diff --git a/internal/templates/partials/row.templ b/internal/templates/partials/row.templ new file mode 100644 index 0000000..e69de29 diff --git a/internal/templates/partials/row_templ.go b/internal/templates/partials/row_templ.go new file mode 100644 index 0000000..1d1995d --- /dev/null +++ b/internal/templates/partials/row_templ.go @@ -0,0 +1,10 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.3.865 + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import templruntime "github.com/a-h/templ/runtime" + +var _ = templruntime.GeneratedTemplate \ No newline at end of file diff --git a/web/static/css/style.css b/web/static/css/style.css new file mode 100644 index 0000000..e69de29 diff --git a/web/static/img/.gitkeep b/web/static/img/.gitkeep new file mode 100644 index 0000000..e69de29