sbt-idp/cope2n-fe
2023-12-07 17:24:06 +07:00
..
public Add: BE, FE 2023-11-30 18:19:06 +07:00
src Update: Route to /api 2023-12-07 17:24:06 +07:00
.babelrc Add: BE, FE 2023-11-30 18:19:06 +07:00
.gitignore Add: BE, FE 2023-11-30 18:19:06 +07:00
.gitlab-ci.yml Add: BE, FE 2023-11-30 18:19:06 +07:00
.linguirc Add: BE, FE 2023-11-30 18:19:06 +07:00
.prettierignore Add: BE, FE 2023-11-30 18:19:06 +07:00
.prettierrc Add: BE, FE 2023-11-30 18:19:06 +07:00
deploy.sh Add: BE, FE 2023-11-30 18:19:06 +07:00
Dockerfile Update FE Dockerfile 2023-12-07 17:24:06 +07:00
Dockerfile- Add: BE, FE 2023-11-30 18:19:06 +07:00
index.html Add: BE, FE 2023-11-30 18:19:06 +07:00
nginx.conf Merge branch 'main' of https://code.sdsdev.co.kr/dx-tan/SBT-IDP into dev/update_model 2023-12-07 17:08:21 +07:00
package-lock.json Add: BE, FE 2023-11-30 18:19:06 +07:00
package.json Add: BE, FE 2023-11-30 18:19:06 +07:00
readme.md Add: BE, FE 2023-11-30 18:19:06 +07:00
run.sh Add: BE, FE 2023-11-30 18:19:06 +07:00
sonar-project.properties Add: BE, FE 2023-11-30 18:19:06 +07:00
tsconfig.json Add: BE, FE 2023-11-30 18:19:06 +07:00
tsconfig.node.json Add: BE, FE 2023-11-30 18:19:06 +07:00
vite.config.ts Add: BE, FE 2023-11-30 18:19:06 +07:00

Run the project COPEN-FE

  • How to clone the project:

    git clone http://code.sdsrv.vn/c-ope2n/frontend.git

  • Change to working directory: Open the downloaded project via terminal then re-direct to the frontend folder and switch to the develop branch:

    cd frontend

    git checkout develop

  • Install packages: Install needed packages/dependencies for running the** project (We need to manually run this every time we add a new dependency to the package.json file).

    npm i

  • Start project in developer mode:

    npm start

  • Environment variables in .env file:

    • Development port: VITE_PORT
    • Backend API: VITE_PROXY