VueJS & Go REST Api combined
- The VueJS will send a HTTP GET request to the GO REST Api with Axios
- The Go API will fetch the details for the specific IMDB ID and put it in the SQLLite database
- The VueJS application will send a HTTP GET request to fetch all the current movies added to the database
- I demonstrated amazing reactive programming :)
How to run
-
unzip the results.zip (most likely already done)
-
get the following repo's go get github.com/gin-gonic/gin go get github.com/jinzhu/gorm go get github.com/jinzhu/gorm/dialects/sqlite
-
go run movie.go
-
server setup at port 1991
-
database sqlite example.db is already included
-
npm run serve to run the VueJS application
-
Add an IMDB ID to the input field and click the button
