Mirror repository from GitLab
- Git
git --version - Node.js
node -v - PostgreSQL
psql --version - Heroku
heroku version
- Clone the repository
git clone https://github.com/NaufalK25/secondhand-api.git - Install dependencies
npm install yarn - 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 - Run the server
npm run dev yarn dev
Status: Deployed