Skip to content

yukal/go-vue-postgres-docker-nginx

Repository files navigation

go-vue-postgres-docker-nginx

Golang webserver starter kit

Depending on your requirements, you can customize and use the server configuration for different types of development, such as a monolith, a microservice, or a hybrid approach.

Each microservice or lambda function you can assign to a specific route as a proxy path using nginx configuration.

Run in a development mode

  1. Prepare docker images

    ./run up:dev
  2. Start serving

    ./run server
    ./run client
  3. Check if routes are available

  1. Cleanup
    ./run dn:dev

Run in a production mode

  1. Prepare docker images

    ./run up:prod
  2. Check if routes are available

  1. Cleanup
    ./run dn:prod