react, fiber, api just for saying hello

say-hello

GitHub Workflow Status Codecov

Introduction

Sometimes we need to have a frontend besides the backend. This repository uses React to show how we can server a React build and then use API for communication.

Also we are using the go 1.16 embed package so you can use the binary with frontend where ever you want.

# starting from the project root directory
cd web/say-hello
npm build

cd ../..
go build
Owner
Cloud Native Go by Example
Learn to write cloud native go codes that runs on k8s
Cloud Native Go by Example
Similar Resources

Simple to do list API with Gin and Gorm (with Postgres)Simple to do list API with Gin and Gorm (with Postgres)

go-todo Simple to do list API with Gin and Gorm (with Postgres) Docker Clone this repository and run: docker-compose up You can then hit the followin

Aug 29, 2022

Go-api-cli - Small CLI to fetch data from an API sync and async

Async API Cli CLI to fetch data on "todos" from a given API in a number of ways.

Jan 13, 2022

Simple and complete API for building command line applications in Go

Simple and complete API for building command line applications in Go Module cli provides a simple, fast and complete API for building command line app

Nov 23, 2022

Go library for accessing the Reddit API.

Go library for accessing the Reddit API.

Overview Featured in issues 327 and 347 of Golang Weekly 🎉 go-reddit is a Go client library for accessing the Reddit API. You can view Reddit's offic

Jan 7, 2023

Make any Go function into a API (FaaS)

faas Make any (Go) function into an API with one HTTP request. This is a FaaS: functions as a service. But, in actuality, its more of a FaaSSS: functi

Dec 30, 2022

cross platform command line tool to list, notify and book vaccine using cowin API

Command line tool to List and Book Vaccine cowin-cli is a simple cli tool to book vaccines and list centers using the COWIN API. It also supports auto

Mar 7, 2022

API con información de servicios del sistema de transporte público metropolitano de Santiago (Red y Metro)

APIs de Transporte Público en Santiago Saldo Bip! Permite obtener el saldo de una tarjeta Bip!, consultándolo en el sitio de RedBip!. Ejemplo: https:/

Nov 28, 2022

A client for managing authzed or any API-compatible system from your command line.

zed A client for managing authzed or any API-compatible system from your command line. Installation zed is currently packaged by as a head-only Homebr

Dec 31, 2022

Sample API made in Go

GoAPI-sample Sample API made in Go. Especially for those who want to develop API in Go and are beginners. Variables Endpoint Vars - /token - To genera

Sep 28, 2022
Comments
  • Run instructions in readme doesn't work

    Run instructions in readme doesn't work

    Hi Suppose that I'm in the correct directory, running npm build would cause:

    $ npm build       
    Unknown command: "build"
    
    Did you mean this?
        npm run build # run the "build" package script
    
    To see a list of supported npm commands, run:
      npm help
    

    I remembered that I should npm install first, but even after installing the node packages:

    $ npm build             
    Unknown command: "build"
    
    Did you mean this?
        npm run build # run the "build" package script
    
    To see a list of supported npm commands, run:
      npm help
    

    I guess we should respect to the suggested message and run npm run build which do the right stuff.

    Other than that, maybe it worth mentioning that after go build we should run ./say-hello.

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

Apr 25, 2022
Fiber v2 ,web framework for go.

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

Jan 10, 2022
Argparse for golang. Just because `flag` sucks

Golang argparse Let's be honest -- Go's standard command line arguments parser flag terribly sucks. It cannot come anywhere close to the Python's argp

Dec 28, 2022
An implementation of sed in Go. Just because!

Sed-Go An implementation of sed in Go. Just because! Status Command-Line processing: Done. It accepts '-e', '-f', '-n' and long versions of the same.

Aug 23, 2022
Just a simple CLI tool to group dependabot PRs by dependency and merge them.
Just a simple CLI tool to group dependabot PRs by dependency and merge them.

Dependabotbot Have you been the victim of a lodash update? Has your notification page in Github been assaulted by needing to update a patch version of

Jun 30, 2022
It is an easy and fast tool to install your packages with just one command.

Trouxa It is an easy and fast tool to install your packages with just one command. What means "Trouxa"? In portuguese, Trouxa means something like a "

Sep 29, 2022
Get Brew Packages to update, just like you've experienced from Ubuntu
Get Brew Packages to update, just like you've experienced from Ubuntu

Get the number of Brew Packages to update, just like you've experienced from Ubuntu BrewUpdate is a simple utility written in Go, notify you how many

Nov 6, 2021
Golisp-wtf - A lisp interpreter (still just a parser) implementation in golang. You may yell "What the fuck!?.." when you see the shitty code.

R6RS Scheme Lisp dialect interpreter This is an implementation of a subset of R6RS Scheme Lisp dialect in golang. The work is still in progress. At th

Jan 7, 2022
Count once - Just once? no, when appear many it run once, but it can run many times

countOnce just once? no, when appear many it run once, but it can run many times

Jan 29, 2022
Turn .mp3 files in current directory to a podcast feed just one command.

dir2cast Turn .mp3 files in current directory to a podcast feed just one command. Then you can subscribe to it with your favorite podcast client, down

Jun 27, 2022