https://github.com/yaanno/fiber-app
Exploring Fiber and JS frontend
https://github.com/yaanno/fiber-app
fiber go golang htmx pokemons
Last synced: 24 days ago
JSON representation
Exploring Fiber and JS frontend
- Host: GitHub
- URL: https://github.com/yaanno/fiber-app
- Owner: yaanno
- Created: 2023-06-25T19:38:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T11:04:33.000Z (over 2 years ago)
- Last Synced: 2025-01-14T13:13:49.855Z (10 months ago)
- Topics: fiber, go, golang, htmx, pokemons
- Language: CSS
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fiber and Htmx
======================
Inspired by [Jack Herrington's experiment](https://github.com/jherr/rscs-vs-php)
Ingredients:
- Go & Fiber: https://gofiber.io/
- Htmx: https://htmx.org/
## Fiber
Lovely Go based web framework.
## Htmx
Relatively small library that extends the default Web APIs.
## Running
Grab the `data` server from Jack's repo and run the server:
```bash
% cd data
% binserve
```
This will serve the pokemon data on port 8080. You can use [binserve](https://github.com/mufeedvh/binserve) or any other fast static server.
Then run the following in this repo (assuming you have Go and optionally Air installed):
## Air
```bash
air
```
## Without Air
```bash
go run app.go
```
Serves on: `http://locahost:3000/`