Rename frontend to web
|
@ -1,4 +1,4 @@
|
|||
[build]
|
||||
bin = "tmp/cafe-plaetschwiesle"
|
||||
cmd = "go build -o tmp/cafe-plaetschwiesle cmd/cafe-plaetschwiesle/cafe-plaetschwiesle.go"
|
||||
exclude_dir = [".gitlab", "docker", "scripts", "frontend", "storage", "tmp", "docs"]
|
||||
exclude_dir = [".gitlab", "docker", "scripts", "web", "storage", "tmp", "docs"]
|
||||
|
|
|
@ -102,7 +102,7 @@ services:
|
|||
networks:
|
||||
- net
|
||||
volumes:
|
||||
- ./frontend:/app/
|
||||
- ./web:/app/
|
||||
|
||||
cafe-backend:
|
||||
build:
|
||||
|
|
|
@ -19,12 +19,12 @@ RUN go build -ldflags="-s -w" cmd/cafe-plaetschwiesle/cafe-plaetschwiesle.go
|
|||
FROM node:${NODE_VERSION}-alpine AS nodeBuilder
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./frontend/package.json .
|
||||
COPY ./frontend/yarn.lock .
|
||||
COPY ./web/package.json .
|
||||
COPY ./web/yarn.lock .
|
||||
RUN yarn install --frozen-lockfile
|
||||
|
||||
COPY --from=goBuilder /app/docs/swagger.json ../docs/swagger.json
|
||||
COPY ./frontend/ .
|
||||
COPY ./web/ .
|
||||
RUN yarn run types:openapi
|
||||
RUN yarn run build
|
||||
|
||||
|
|
0
frontend/.gitignore → web/.gitignore
vendored
|
@ -1,29 +1,35 @@
|
|||
# frontend
|
||||
# web
|
||||
|
||||
## Project setup
|
||||
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
|
||||
```
|
||||
npm run serve
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
|
||||
```
|
||||
npm run build
|
||||
```
|
||||
|
||||
### Run your unit tests
|
||||
|
||||
```
|
||||
npm run test:unit
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
|
||||
```
|
||||
npm run lint
|
||||
```
|
||||
|
||||
### Customize configuration
|
||||
|
||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "frontend",
|
||||
"name": "web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |