Skip to content

Conversation

@schdief
Copy link
Owner

@schdief schdief commented Nov 26, 2024

Related to #127

Migrate the codebase from JavaScript to Go.

  • Dockerfile: Update the base image to use a Go image, install dependencies from go.mod, and build the Go application.
  • README.md: Update instructions to reflect the migration to Go, including dependencies and build instructions.
  • app.js to app.go: Migrate the main application setup, including database connection, session setup, and route definitions.
  • controllers/impressum.js to controllers/impressum.go: Migrate the impressum function to use Go's net/http package and templates.
  • controllers/landingPage.js to controllers/landingPage.go: Migrate the landingPage function to use Go's net/http package.
  • controllers/title.js to controllers/title.go: Migrate the postTitle, getTitles, getTitle, updateTitle, and deleteTitle functions to use Go's net/http package and database/sql package.
  • index.js to index.go: Migrate the server setup code to use Go's net/http package and TLS configuration.

For more details, open the Copilot Workspace session.

Related to #127

Migrate the codebase from JavaScript to Go.

* **Dockerfile**: Update the base image to use a Go image, install dependencies from `go.mod`, and build the Go application.
* **README.md**: Update instructions to reflect the migration to Go, including dependencies and build instructions.
* **app.js to app.go**: Migrate the main application setup, including database connection, session setup, and route definitions.
* **controllers/impressum.js to controllers/impressum.go**: Migrate the `impressum` function to use Go's `net/http` package and templates.
* **controllers/landingPage.js to controllers/landingPage.go**: Migrate the `landingPage` function to use Go's `net/http` package.
* **controllers/title.js to controllers/title.go**: Migrate the `postTitle`, `getTitles`, `getTitle`, `updateTitle`, and `deleteTitle` functions to use Go's `net/http` package and `database/sql` package.
* **index.js to index.go**: Migrate the server setup code to use Go's `net/http` package and TLS configuration.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/schdief/moveez/issues/127?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants