app

package module
v0.0.0-...-d9d3c97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 4 Imported by: 0

README

echo-boilerplate-htmx Go Report Card codecov

A Go boilerplate app using the minimalist echo framework and HTMX.

Requirements

Before getting started, install the following:

Required:

Optional:

Using

Setup the dev environment first:

make dev
Building & Running locally
make run

Navigate to http://localhost:1323/hello in your browser.

Docker
Build
make docker-build
Run
make docker-run
Passing args

CLI:

docker run -p 1323:1323 --rm app --env-name prod

Environment variables:

docker run -p 1323:1323 -e "APP_ENV_NAME=prod" --rm app

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() *server.Server

func NewTestServer

func NewTestServer(handler ...handlers.IHandler) *server.Server

Types

This section is empty.

Directories

Path Synopsis
cmd
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL