# diag-corporate

> ## Setup Development Environment ### Prepare steps: 1. Install git ([here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)) 2. Install docker and docker-compose ([here](https://docs.docker.com/get-docker/)) ### For Intel PC and MAc 1. Insta

Latest version **1.2.122-1** (published 2022-10-18) · Diag Corporate license · 40 weekly downloads

## Install

```sh
npm install diag-corporate
pnpm add diag-corporate
yarn add diag-corporate
bun add diag-corporate
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.122-1 |
| Published | 2022-10-18 |
| First published | 2021-05-04 |
| Weekly downloads | 40 |
| License | Diag Corporate |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 49 |
| Unpacked size | 823 KB |
| Known vulnerabilities | 0 (+26 in 4 direct dependencies) |
| Install scripts | no |
| Author | engineering@diag.vn |
| Maintainers | engineering-diag |

## Links

- npm: https://www.npmjs.com/package/diag-corporate
- npm.io page: https://npm.io/package/diag-corporate

## Dependencies (49)

- [aos](https://npm.io/package/aos.md) ^2.3.4
- [vue](https://npm.io/package/vue.md) ^2.6.12
- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [vuex](https://npm.io/package/vuex.md) ^3.6.0
- [axios](https://npm.io/package/axios.md) ^0.21.1
- [gijgo](https://npm.io/package/gijgo.md) ^1.9.13
- [imask](https://npm.io/package/imask.md) ^6.4.2
- [loader](https://npm.io/package/loader.md) ^2.1.1
- [moment](https://npm.io/package/moment.md) ^2.29.1
- [qrcode](https://npm.io/package/qrcode.md) ^1.5.0
- [swiper](https://npm.io/package/swiper.md) ^6.5.1
- [toastr](https://npm.io/package/toastr.md) ^2.1.4
- [vue-ua](https://npm.io/package/vue-ua.md) ^1.7.0
- [list.js](https://npm.io/package/list.js.md) ^1.5.0
- [rollbar](https://npm.io/package/rollbar.md) ^2.25.2
- [select2](https://npm.io/package/select2.md) ^4.0.13
- [chart.js](https://npm.io/package/chart.js.md) ^3.5.1
- [ckeditor](https://npm.io/package/ckeditor.md) ^4.12.1
- [dropzone](https://npm.io/package/dropzone.md) ^5.7.2
- [vue-i18n](https://npm.io/package/vue-i18n.md) ^8.22.2
- [ckeditor4](https://npm.io/package/ckeditor4.md) ^4.16.1
- [clipboard](https://npm.io/package/clipboard.md) ^2.0.6
- [simplebar](https://npm.io/package/simplebar.md) ^4.1.0
- [vue-axios](https://npm.io/package/vue-axios.md) ^3.2.0
- [css-loader](https://npm.io/package/css-loader.md) ^3.6.0
- [qrcode.vue](https://npm.io/package/qrcode.vue.md) ^1.7.0
- [vue-hotjar](https://npm.io/package/vue-hotjar.md) ^1.2.0
- [vue-router](https://npm.io/package/vue-router.md) ^3.4.9
- [vue-select](https://npm.io/package/vue-select.md) ^3.16.0
- [file-loader](https://npm.io/package/file-loader.md) ^4.0.0
- [vue-pdf-app](https://npm.io/package/vue-pdf-app.md) ^2.1.0
- [vee-validate](https://npm.io/package/vee-validate.md) ^2.2.15
- [vue-debounce](https://npm.io/package/vue-debounce.md) ^2.6.0
- [bootstrap-vue](https://npm.io/package/bootstrap-vue.md) ^2.21.0
- [vue-recaptcha](https://npm.io/package/vue-recaptcha.md) ^1.3.0
- [vue-tel-input](https://npm.io/package/vue-tel-input.md) ^4.4.2
- [air-datepicker](https://npm.io/package/air-datepicker.md) ^3.2.0
- [iframe-resizer](https://npm.io/package/iframe-resizer.md) ^4.2.11
- [daterangepicker](https://npm.io/package/daterangepicker.md) ^3.1.0
- [vue2-timepicker](https://npm.io/package/vue2-timepicker.md) ^1.1.6
- [jquery-validation](https://npm.io/package/jquery-validation.md) ^1.19.3
- [svg-sprite-loader](https://npm.io/package/svg-sprite-loader.md) ^4.3.0
- [bootstrap-fileinput](https://npm.io/package/bootstrap-fileinput.md) ^5.1.3
- [bootstrap-datepicker](https://npm.io/package/bootstrap-datepicker.md) ^1.9.0
- [vue2-daterange-picker](https://npm.io/package/vue2-daterange-picker.md) ^0.6.8
- [@bachdgvn/vue-otp-input](https://npm.io/package/@bachdgvn/vue-otp-input.md) ^1.0.8
- [browser-image-compression](https://npm.io/package/browser-image-compression.md) ^1.0.17
- [@ckeditor/ckeditor5-upload](https://npm.io/package/@ckeditor/ckeditor5-upload.md) ^20.0.0
- [@ckeditor/ckeditor5-build-classic](https://npm.io/package/@ckeditor/ckeditor5-build-classic.md) ^20.0.0

## Recent versions

- 1.2.122-1 (latest) — 2022-10-18
- 1.2.122-0 — 2022-10-13
- 1.2.121 — 2022-10-13
- 1.2.120 — 2022-10-12
- 1.2.120-0 — 2022-10-05
- 1.2.119 — 2022-09-30
- 1.2.119-0 — 2022-09-30
- 1.2.118 — 2022-09-30
- 1.2.118-0 — 2022-09-30
- 1.2.117 — 2022-09-30
- 1.2.117-0 — 2022-09-30
- 1.2.116 — 2022-09-29
- 1.2.115 — 2022-09-28
- 1.2.115-1 — 2022-09-28
- 1.2.115-0 — 2022-09-28
- … 770 more at https://npm.io/package/diag-corporate/versions

## README

# Diag Corporate (Diag Website - diag.vn)

## Setup Development Environment
### Prepare steps:
1. Install git ([here](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git))
2. Install docker and docker-compose ([here](https://docs.docker.com/get-docker/))
### For Intel PC and MAc
1. Install Node.js and NPM [on Mac](https://treehouse.github.io/installation-guides/mac/node-mac.html) 
2. Go to project path
3. Create `.env` file 
    ```bash
    cp .env.example .env
    ```
4. We can use the default `docker-compose.yml`. Run docker-compose
    ```
    docker-compose up
    ```
5. Install dependency:
    ```
   docker-compose exec app compose install
    ```
6. Run the database migration:
    ```
    docker-compose exec app php artisan migrate
    ```
7. Build the mix for front-end
    ```
    npm install
    npm run development
    ```
   
8. Access the web app at [http://localhost:8002/](http://localhost:8002/)

### For Macbook M1 (any laptop use CPU ARM architect)
1. Go to project path 
2. Create `.env` file
    ```bash
    cp .env.example .env
    ```
3. Running doc
   ```
   docker-compose -f docker-compose-arm-dev.yml up
   ```
5. Install dependency:
     ```
    docker-compose -f docker-compose-arm-dev.yml exec app composer install
     ```
6. Run the database migration:
    ```
    docker-compose -f docker-compose-arm-dev.yml exec app php artisan migrate
    ```
7. Because we can not build front-end directly in Macbook M1 so that why we will build the mix for front-end in docker
    ```
    docker-compose -f docker-compose-arm-dev.yml exec app npm install
    docker-compose -f docker-compose-arm-dev.yml exec app npm run development
    ```

8. Access the web app at [http://localhost:8002/](http://localhost:8002/)

---
_Source: https://npm.io/package/diag-corporate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
