Skip to content

Commit

Permalink
F/E Code Add
Browse files Browse the repository at this point in the history
  • Loading branch information
Strato-YangSungHun committed Jul 3, 2024
1 parent 1fcf171 commit 849ca3b
Show file tree
Hide file tree
Showing 2,092 changed files with 120,885 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workflowFE/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
6 changes: 6 additions & 0 deletions workflowFE/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
NODE_ENV=

VUE_APP_NAME="STRATO M-CMP"
VUE_APP_VERSION="0.0.1"
VUE_APP_FULL_NAME="STRATO M-CMP Portal"
VUE_APP_API_URL="http://localhost:18083"
9 changes: 9 additions & 0 deletions workflowFE/.env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
NODE_ENV=dev

VUE_APP_NAME="STRATO M-CMP"
VUE_APP_VERSION="0.0.1"
VUE_APP_FULL_NAME="STRATO M-CMP"
# VUE_APP_API_URL="http://172.16.11.182:18083"
# VUE_APP_API_URL="http://172.16.11.101:18083"
# VUE_APP_API_URL="http://10.10.30.27:30083"
VUE_APP_API_URL="http://app.tb-cb.kro.kr:18083"
1 change: 1 addition & 0 deletions workflowFE/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/src/assets
29 changes: 29 additions & 0 deletions workflowFE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.DS_Store
node_modules
/dist
# /src/views/organization/dockerBuildServer

# local env files
# .env*
# .env.local
# .env.*.local

dist.tar

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

yarn.lock
package-lock.json
24 changes: 24 additions & 0 deletions workflowFE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# M-CMP frontend

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
3 changes: 3 additions & 0 deletions workflowFE/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
};
7 changes: 7 additions & 0 deletions workflowFE/devops/docker/m-cmp-frontend-build/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM docker.io/nginx:1.17.6-alpine

COPY dist /usr/share/nginx/html

EXPOSE 8080

CMD ["nginx", "-g", "daemon off;"]
9 changes: 9 additions & 0 deletions workflowFE/devops/docker/m-cmp-frontend-build/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
server {
listen 80;
ssl off;

location / {
alias /usr/share/nginx/html/;
try_files $uri $uri/ /index.html;
}
}
52 changes: 52 additions & 0 deletions workflowFE/devops/k8s/m-cmp-frontend-deploy/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
devops.type: m-cmp-frontend
name: m-cmp-frontend-deployment
namespace: strato-product
spec:
replicas: 1
selector:
matchLabels:
devops.type: m-cmp-frontend
strategy:
type: RollingUpdate
template:
metadata:
labels:
devops.type: m-cmp-frontend
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: devops.type
operator: In
values:
- m-cmp-frontend
topologyKey: kerbernetes.io/hostname
containers:
- image: harbor.strato-solution.co.kr/strato/m-cmp-frontend:0.0.1
imagePullPolicy: Always
name: m-cmp-frontend-pod
ports:
- containerPort: 8080
name: port-8080
---
apiVersion: v1
kind: Service
metadata:
name: m-cmp-frontend-svc
namespace: strato-product
spec:
type: NodePort
ports:
- name: port-8080
port: 8080
targetPort: 80
nodePort: 32083
selector:
devops.type: m-cmp-frontend
87 changes: 87 additions & 0 deletions workflowFE/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"name": "strato-m-cmp-frontend",
"version": "0.0.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"local": "vue-cli-service serve --mode local",
"k8s": "vue-cli-service serve --mode k8s",
"test": "vue-cli-service serve --mode local --port 3000",
"dev": "vue-cli-service serve --mode dev",
"build": "vue-cli-service build --mode dev",
"demo": "vue-cli-service build --mode demo",
"12cm": "node ./run12cm.js",
"lint": "vue-cli-service lint",
"rtl": "webpack --config webpack-rtl.config.js"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@fullcalendar/core": "^5.9.0",
"@fullcalendar/daygrid": "^5.9.0",
"@fullcalendar/interaction": "^5.9.0",
"@fullcalendar/list": "^5.9.0",
"@fullcalendar/timegrid": "^5.9.0",
"@fullcalendar/vue3": "^5.9.0",
"@incuca/vue3-toaster": "1.1.1",
"@marcoschulte/vue3-progress": "0.0.6",
"@popperjs/core": "^2.10.2",
"@saeris/vue-spinners": "1.0.8",
"@tinymce/tinymce-vue": "^4.0.4",
"@types/object-path": "^0.11.0",
"@vueform/multiselect": "^1.2.5",
"@yaireo/tagify": "^3.23.1",
"animate.css": "^4.1.1",
"axios": "0.18.1",
"axios-mock-adapter": "1.20.0",
"bootstrap": "5.0.1",
"bootstrap-icons": "^1.4.0",
"clipboard": "^2.0.6",
"deepmerge": "^4.2.2",
"dropzone": "^5.9.3",
"echarts": "5.3.1",
"element-plus": "^1.0.2-beta.71",
"line-awesome": "^1.3.0",
"lodash": "4.17.21",
"nouislider": "^14.6.3",
"object-path": "^0.11.8",
"popper.js": "^1.16.1",
"prism-themes": "^1.9.0",
"prismjs": "^1.25.0",
"quill": "^1.3.6",
"raphael": "2.3.0",
"rtlcss-webpack-plugin": "^4.0.6",
"socicon": "^3.0.5",
"sweetalert2": "^9.10.12",
"validate.js": "0.13.1",
"vee-validate": "^4.5.2",
"vue-axios": "^3.3.7",
"vue-draggable-next": "^2.2.1",
"vue-echarts": "6.0.2",
"vue-i18n": "9.1.9",
"vue-inline-svg": "^3.1.0",
"vue-loading-overlay": "5.0",
"vue-router": "^4.0.0-0",
"vue-sweetalert2": "5.0.2",
"vue-toastification": "2.0.0-rc.5",
"vue3-ace-editor": "2.2.2",
"vue3-cookies": "1.0.6",
"vuex": "^4.0.0-0",
"webpack-rtl-plugin": "^2.0.0",
"yup": "0.32.11"
},
"devDependencies": {
"@types/prismjs": "^1.16.2",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.2.19",
"array-sort": "^1.0.0",
"sass": "1.32.1",
"sass-loader": "^10.0.5",
"typescript": "^5.4.5",
"vue": "^3.2.26",
"vuex-module-decorators": "^1.0.1",
"webpack-cli": "^4.8.0"
}
}
Binary file added workflowFE/public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions workflowFE/public/images/icons/arrow/right_nobar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions workflowFE/public/images/icons/arrow/rollbacks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/check/circle-check-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/common/grid-2-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions workflowFE/public/images/icons/common/organization.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/common/pen-to-square-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions workflowFE/public/images/icons/common/setup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/common/trash-xmark-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions workflowFE/public/images/icons/crud/circle-plus-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/crud/edit-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/crud/eye-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions workflowFE/public/images/icons/crud/file-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added workflowFE/public/images/icons/deploy/azure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added workflowFE/public/images/icons/deploy/bm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added workflowFE/public/images/icons/deploy/docker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added workflowFE/public/images/icons/icon_aborted.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added workflowFE/public/images/icons/icon_approve.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added workflowFE/public/images/icons/icon_f.gif
Binary file added workflowFE/public/images/icons/icon_loading.gif
Binary file added workflowFE/public/images/icons/icon_reject.gif
Binary file added workflowFE/public/images/icons/icon_s.gif
Binary file added workflowFE/public/images/icons/icon_stop.gif
Binary file added workflowFE/public/images/icons/menu/alram.png
Binary file added workflowFE/public/images/icons/menu/logout.png
10 changes: 10 additions & 0 deletions workflowFE/public/images/icons/menu/organizations/organization.svg
Loading

0 comments on commit 849ca3b

Please sign in to comment.