Skip to content

Instantly share code, notes, and snippets.

View kop7's full-sized avatar
🎯
Focusing

Matija Kop kop7

🎯
Focusing
View GitHub Profile
import Vue from "vue";
import BootstrapVue from "bootstrap-vue";
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap-vue/dist/bootstrap-vue.css";
Vue.use(BootstrapVue);
<template>
<div id="app">
<router-view/>
</div>
</template>
<template>
<b-container>
<br>
<b-list-group>
<h2 align="center">Search Movies by title</h2>
<b-input-group-text>
<b-input label="Search" type="text" v-model="search" placeholder="Search in 91,770 movies" />
<span class="input-group-text">Total: {{total}}</span>
</b-input-group-text>
<br>
import "@babel/polyfill";
import Vue from "vue";
import "./plugins/boostrap-vue";
import App from "./App.vue";
import router from "./router";
Vue.config.productionTip = false;
new Vue({
router,
import Vue from 'vue'
import Router from 'vue-router'
import Home from "@/components/Home";
Vue.use(Router)
export default new Router({
mode: 'history',
routes: [
{ path: '/', redirect: { name: 'home' } },
{ path: '/home', name: 'home', component: Home },
version: "3.7"
services:
nest-app:
build: server
container_name: nest-app
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:3000/api/healthcheck || exit 1"]
interval: 50s
timeout: 30s