Skip to content

NaufalK25/secondhand-api

Repository files navigation

SecondHand

Mirror repository from GitLab

Prerequisites

  1. Git
    git --version
    
  2. Node.js
    node -v
    
  3. PostgreSQL
    psql --version
    
  4. Heroku
    heroku version
    

How to Run In Local

  1. Clone the repository
    git clone https://github.com/NaufalK25/secondhand-api.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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •