/BETest

Primary LanguageJavaScript

SecondHand

Prerequisites

  1. Git
    git --version
    
  2. Node.js
    node -v
    

How to Run In Local

  1. Clone the repository
    git clone https://gitlab.com/NaufalK25/fejs-4-x-bejs-4-kel-6-secondhand.git
    
  2. Install dependencies
    npm install
    yarn
    
  3. Create database and tables, and insert data
    npx sequelize-cli db:create
    npx sequelize-cli db:migrate
    npx sequelize-cli db:migrate:undo:all # to undo all migrations
    npx sequelize-cli db:seed:all
    npx sequelize-cli db:seed:undo:all # to undo all seed
    
  4. Run the server
    npm run dev
    yarn dev
    

Status: Deployed

Base URL

  1. Development

  2. Staging

  3. Production