Skip to content
/ bego Public template

BE workspace in GO. Allows multiple project to share the same dependencies. This can be used as a basic setup for any future projects.

Notifications You must be signed in to change notification settings

toochow-organization/bego

Repository files navigation

My Backend Go workspace

This backend Go workspace will be used as a template or references from any of my future project

Reference

This works were inspired and referenced from workspace project

Setup for Tilt

Run Sample App: external/apis

Start the local dev (Tilt) environment

  • Run the following command in local tilt up and press space to jump to the tilt dashboard
  • PostgreSQL Can be access by pgadmin4, the user can be either postgres or bego, password: password
  • Troubleshooting: If you got some trouble with publishing image Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? especially when running in Rancher-desktop, then execute sudo ln -s ~$USER/.rd/docker.sock /var/run/docker.sock to map the docker.sock to /var/run/

Start with CLI

  • Install Rancher-desktop and docker-compose. Make sure both docker and docker-compose work properly
  • Deploy postgreSQL by docker-compose -f external/apis/docker-compose.yaml up -d
  • Run apis (which is our sample app) by go run ./external/apis/cmd/apis/...

About

BE workspace in GO. Allows multiple project to share the same dependencies. This can be used as a basic setup for any future projects.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages