Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alejandrosuero/htmx-with-golang-practice
Following the course of ThePrimeagen in FrontendMasters
https://github.com/alejandrosuero/htmx-with-golang-practice
Last synced: 14 days ago
JSON representation
Following the course of ThePrimeagen in FrontendMasters
- Host: GitHub
- URL: https://github.com/alejandrosuero/htmx-with-golang-practice
- Owner: AlejandroSuero
- License: mit
- Created: 2024-04-05T17:57:39.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-06T11:26:23.000Z (9 months ago)
- Last Synced: 2024-10-19T11:15:46.439Z (2 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTMX with GoLang practice
This is a practice from the course [HTMX & Go](https://frontendmasters.com/courses/htmx)
taught by [ThePrimeagen](https://github.com/ThePrimeagen) in [Froned Masters](https://frontendmasters.com).---
## Setup
This is a simple setup for this project.
### Requirements
For this project you will need to have installed:
- [Go](https://go.dev/)
After that is installed.
```bash
gh repo clone AlejandroSuero/htmx-with-golang-practice
cd htmx-with-golang-practice
go mod init yourwebsite.tv/yourname
```Once you have **Go** installed in your system, you will need the following packages
Air, a hot-reloading package using echo.
```bash
go install github.com/cosmtrek/air@latest
```To install the remaining packages:
```bash
go mod tidy
```> This will install `echo/v4` and `echo/v4/middleware`
### Initializing the project
You can just type `air` in the terminal and go to [localhost:42069](http://localhost:42069/)