Vuejs + Golang = A rare combination

Back in 2018, I wrote an article “Django + Angular 4 = A powerful web application” which has over 15k reads. Out of curiosity, I tried Angular 4 and Django. Continuing the series, here is a new article helping you to build amazing apps using - “Vuejs” and “Golang”.

Background

Golang

Vuejs

Setting up directories

Image for post
Image for post
Image for post
Image for post
                      vue create calculator
Image for post
Image for post
Image for post
Image for post

Build the backend

Image for post
Image for post
packages and the JSON data structures
Image for post
Image for post
process function
Image for post
Image for post
Image for post
Image for post

Now let’s build the frontend

   npm install --save bootstrap-vue bootstrap axios vee-validate
Image for post
Image for post
Image for post
Image for post
writing scripts tag
Calculator.vue

Run the App

                        go run server.go
                          npm run serve

Machine/Deep Learning, Amateur Photographer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store