diff --git a/docker-compose.yaml b/docker-compose.yaml index 8eb597b..9b8d76d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -22,7 +22,7 @@ services: ports: - "${SERVER_PORT}:${SERVER_PORT}" volumes: - - .:/usr/src/app + - api:/usr/src/app depends_on: - db command: ./bin/api.exe @@ -54,5 +54,6 @@ services: - migrator volumes: + api: postgres-db: goose: \ No newline at end of file diff --git a/env b/env index 369d08f..9654499 100644 --- a/env +++ b/env @@ -1,3 +1,4 @@ +# Postgres PGHOST=888 PGPORT=888 PGUSER=888 diff --git a/spa/jsconfig.json b/spa/jsconfig.json index 5a1f2d2..f2642f3 100644 --- a/spa/jsconfig.json +++ b/spa/jsconfig.json @@ -5,4 +5,4 @@ } }, "exclude": ["node_modules", "dist"] -} +} \ No newline at end of file diff --git a/spa/src/components/SingUP.vue b/spa/src/components/SingUP.vue new file mode 100644 index 0000000..596e16f --- /dev/null +++ b/spa/src/components/SingUP.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/spa/src/router/index.js b/spa/src/router/index.js index 5bd6d2f..5b410a2 100644 --- a/spa/src/router/index.js +++ b/spa/src/router/index.js @@ -8,6 +8,11 @@ const router = createRouter({ path: '/', name: 'home', component: HomeView, + }, + { + path: '/signin', + name: 'signin', + component: SingIn, } ], })