Rename frontend to web

This commit is contained in:
Florian Hoss 2023-07-04 23:20:47 +02:00
parent f63210272d
commit c135c604f0
59 changed files with 13 additions and 7 deletions

View file

@ -1,4 +1,4 @@
[build] [build]
bin = "tmp/cafe-plaetschwiesle" bin = "tmp/cafe-plaetschwiesle"
cmd = "go build -o tmp/cafe-plaetschwiesle cmd/cafe-plaetschwiesle/cafe-plaetschwiesle.go" 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"]

View file

@ -102,7 +102,7 @@ services:
networks: networks:
- net - net
volumes: volumes:
- ./frontend:/app/ - ./web:/app/
cafe-backend: cafe-backend:
build: build:

View file

@ -19,12 +19,12 @@ RUN go build -ldflags="-s -w" cmd/cafe-plaetschwiesle/cafe-plaetschwiesle.go
FROM node:${NODE_VERSION}-alpine AS nodeBuilder FROM node:${NODE_VERSION}-alpine AS nodeBuilder
WORKDIR /app WORKDIR /app
COPY ./frontend/package.json . COPY ./web/package.json .
COPY ./frontend/yarn.lock . COPY ./web/yarn.lock .
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
COPY --from=goBuilder /app/docs/swagger.json ../docs/swagger.json COPY --from=goBuilder /app/docs/swagger.json ../docs/swagger.json
COPY ./frontend/ . COPY ./web/ .
RUN yarn run types:openapi RUN yarn run types:openapi
RUN yarn run build RUN yarn run build

View file

@ -1,29 +1,35 @@
# frontend # web
## Project setup ## Project setup
``` ```
npm install npm install
``` ```
### Compiles and hot-reloads for development ### Compiles and hot-reloads for development
``` ```
npm run serve npm run serve
``` ```
### Compiles and minifies for production ### Compiles and minifies for production
``` ```
npm run build npm run build
``` ```
### Run your unit tests ### Run your unit tests
``` ```
npm run test:unit npm run test:unit
``` ```
### Lints and fixes files ### Lints and fixes files
``` ```
npm run lint npm run lint
``` ```
### Customize configuration ### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/). See [Configuration Reference](https://cli.vuejs.org/config/).

View file

@ -1,5 +1,5 @@
{ {
"name": "frontend", "name": "web",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 178 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before After
Before After