Vanderscycle / SvelteKit-GoFiber-Template

SvelteKit frontend using Tailwindcss with a Go fiber backend using GORM (postgresDB). Use Jest for unit testing and magic for user auth.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

SvelteKit frontend using Tailwindcss with a Go fiber backend using GORM (postgresDB). Use Jest for unit testing and magic for user auth.

License:MIT License


Languages

Language:JavaScript 23.7%Language:TypeScript 20.8%Language:HTML 19.9%Language:Svelte 12.5%Language:CSS 12.1%Language:Go 8.3%Language:Dockerfile 2.7%