Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects

TBACare - Web

TBACare web repository

Table of Contents

Status

  • Staging

    coverage report

    Netlify Status

  • Production

    coverage report

    Netlify Status

Prerequisites

Install the following packages/tools:

  • node v12.14.0
  • npm v6.13.6+

Create .env file in the root project and put necessary variable and value, for instance:

REACT_APP_API_MAIN_URL=http://localhost:8000

Install all dependencies by run this command in the root of project

npm i

Usage

  • Run application

    npm start
  • Build application

    npm run build
  • Lint checking

    npm run lint
  • Formatting code

    npm run format

Troubleshootings

  • Corrupt modules

    If clearing caches doesn't work or sometimes you face an error such as "Cannot find module...". This could be due to a corrupt installation, then try to follow this procedure.
    1. Delete node_modules directory in the root project.
    2. Re-install all modules by command:
      npm i

Maintainers

  • Dave Nathanael
  • Irwanto
  • Jonathan Christopher Jakub
  • Josh Sudung
  • Nandhika Prayoga