Fiber v2 ,web framework for go.

Overview
go run main.go

Liveness Probe

cat /tmp/live
echo $?

output = 0 ,status = up

Method RelativePath CURL
GET /healthz http://127.0.0.1:8080/healthz
GET /x http://127.0.0.1:8080/x
GET /api/v1/todos http://127.0.0.1:8080/api/v1/todos
GET /api/v1/todos/:id http://127.0.0.1:8080/api/v1/todos/:id
POST /api/v1/todos http://127.0.0.1:8080/api/v1/todos
docker build -t gotodos:0.0.1 .
docker run --rm -p 8080:8080 -e PORT=8080 -e APP_ENV=dev --name gotodos gotodos:0.0.1
docker run --rm -p 8080:8080 -e PORT=8080 -e APP_ENV=production -v $(pwd)/logs:/logs --name gotodos gotodos:0.0.1
docker run --rm -p 8080:8080 -e PORT=8080 -e APP_ENV=dev -e DB_USER=postgres \
-e DB_PASSWORD=passw0rd -e DB_NAME=todos -e DB_PORT=5432 -e DB_HOST=host.docker.internal \
-v $(pwd)/logs:/logs -v $(pwd)/uploads:/uploads --name gotodos gotodos:0.0.1

build database

docker compose -f database/docker-compose.yml up -d

clean database

docker compose -f database/docker-compose.yml down 
Owner
sing3demons
sing3demons
Boss-Stock Fiber (Go) and MongoDB REST API

Boss-Stock Fiber (Go) and MongoDB REST API An API built with Fiber and MongoDB. Installation go mod init go get -u github.com/gofiber/fiber/v2 go get

null 1 Apr 25, 2022
A command line tool that builds and (re)starts your web application everytime you save a Go or template fileA command line tool that builds and (re)starts your web application everytime you save a Go or template file

# Fresh Fresh is a command line tool that builds and (re)starts your web application everytime you save a Go or template file. If the web framework yo

null 0 Nov 22, 2021
Another CLI framework for Go. It works on my machine.

Command line interface framework Go framework for rapid command line application development

Ulrich Kautz 115 Jul 29, 2022
A powerful little TUI framework 🏗

Bubble Tea The fun, functional and stateful way to build terminal apps. A Go framework based on The Elm Architecture. Bubble Tea is well-suited for si

Charm 14.2k Aug 9, 2022
Golang anti-vm framework for Red Team and Pentesters

Chacal is an anti-vm framework written in Golang in order to support Red Team and Pentesters in your assalts, in Windows environment!

p3tr0v 99 Aug 3, 2022
Dinogo is an CLI framework for build terminal and shell applications in Go.

dinogo Dinogo is an CLI framework for build terminal and shell applications in Go. Features Cross Platform Fast and efficient Keyboard API Enable/Disa

Mertcan Davulcu 11 Jul 26, 2022
Highly customizable and lightweight Go CLI app framework 👌

Nice ?? Nice is a highly customizable and lightweight framework for crafting CLI apps. Nice respects idiomatic Go code and focuses to be clear, effici

Aleksandr Krivoshchekov 202 Jul 14, 2022
CLI written on golang for JT Framework

Installation Linux & Mac OS (64-bit) Global sh -c "$(curl -fsSL https://raw.githubusercontent.com/jarvis-technologies/cli/main/install.sh)" Local Linu

jarvis-technologies 1 Jan 3, 2022
This repository contains example apps created using GoCondor framework

Examples This repository contains example apps created using GoCondor framework what are the examples? 1- Todo API A todo api with the below routes:

Go Condor 0 May 7, 2021
Basic usage of Vecty framework examples.

vecty-examples Basic usage of Vecty framework examples. Instructions Change directory to the folder with the example you wish to run Run wasmserve. To

Patricio Whittingslow 1 Jun 20, 2022
Vfkit - Simple command line tool to start VMs through virtualization framework

vfkit - Simple command line tool to start VMs through virtualization framework v

Christophe Fergeau 0 Jul 25, 2022
Bubble-table - A table component for the Bubble Tea framework

Bubble-table A table component for the Bubble Tea framework. This is currently m

Brandon Fulljames 176 Aug 9, 2022
GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

This is the official CLI tool to operate with Getting Things Done Framework. How

akrck02 1 Feb 14, 2022
Share your terminal as a web application

GoTTY - Share your terminal as a web application GoTTY is a simple command line tool that turns your CLI tools into web applications. Installation Dow

Iwasaki Yudai 17.1k Aug 16, 2022
Soren L. Hansen 1.6k Aug 12, 2022
webify - Turn functions and commands into web services

webify is a very basic CGI server which forwards all requests to a single script. A design goal is to be as zero-config as possible.

Michael Alexander 918 Aug 1, 2022
Scrappy is a cli tool that allows multiple web scrappers to monitor periodically for a basic ruleset coverage and inform users when the criteria have been met.

Scrappy - A multi-type web scrapper with alerting Scrappy is a cli tool that allows multiple web scrappers to monitor periodically for a basic ruleset

Michalis Zampetakis 0 Nov 7, 2021
Browser based Ascii-art generator with simple web design

Browser based Ascii-art generator with simple web design

null 0 Nov 12, 2021
CLI and web app to convert HTML markup to go-app.dev's syntax.

HTML to go-app Converter CLI and web app to convert HTML markup to go-app.dev's syntax. Installation CLI Static binaries are also available on GitHub

Felix Pojtinger 9 Jul 7, 2022