SvelteKit/Gofiber Template

Frontend

Backend

DB

API-Postman

You can import the api calls from .postman_.json to use as a api template.

using podman (from Dockerfile)

I personally prefer podman/buildah/podman-compose over Docker

To build an image (e.g. backend)

podman build ./backend -t go-fiber:latest
# you can use no cache just like in docker --no-cache

To confirm that it loaded correctly (rg being ripgrep)

podman images | rg "go-fiber"

To run the image as a container

podman run -P -d go-fiber:latest

To view the container

podman container list -a

Should you run into issues (the container exited)

podman logs -t {name}

To enter a running container

podman exec -it <Container ID> /bin/bash

Notes

Pr welcome

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes