Giter Site home page Giter Site logo

drewjocham / vue-golang-grpc-base Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 4.81 MB

Base project for a vue.js client and GoLang Backend

Go 37.38% Dockerfile 3.60% Makefile 5.04% JavaScript 24.91% HTML 0.70% Vue 21.20% CSS 1.09% TypeScript 5.38% Shell 0.69%

vue-golang-grpc-base's Introduction

Setup

  • cp view/.env.production view/.env.local
  • chmod 777 setup.sh
  • ./setup.sh
  • go to http://localhost/

Commands

  • make up - start docker environment
  • make down - stop docker environment
  • make / make help - show available commands

SSL Config

ssl-setup.md

GCP App Engine

If you would like ot use App Engine on GCP there are two yaml files at the root of the directory. Once App Engine turned on and the SDK is downloaded locally run the below commands to deploy.

Manual GCP App Engine deployment not recommended use a ci/cd tool

Deploy the api container gcloud app deploy api/app.yaml

Deploy the view container gcloud app deploy view/app.yaml

GCP App Engine Setup with Cloud Build

  1. Enable App Engine
  2. Enable Repository on cloud build
    • this service account will need the "service account user“ role
  3. Enable Artifact Registry API
  4. Enable App Engine API Admin
  5. Create an artifact repository, here I called it personal
  6. In Cloud repository authenticate your github account
    • Choose the branch
  • To communicate between services we need the services URL. For further documentation see here.
  • To enable debugging on your app engine flex environment enter the following in your terminal gcloud app --project PROJECT-ID instances enable-debug docs
  • Further information about app.yaml configuration documentation
  • The App Engine port's have to be on 8080

vue-golang-grpc-base's People

Contributors

alex-rieger avatar drewjocham avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.