Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 738 Bytes

readme.md

File metadata and controls

60 lines (38 loc) · 738 Bytes

INJS Final Project 2

PhotoAlbum Apps

Final Project 2 from Kampus Merdeka - Introduce to NodeJS

URL apps link

Installation

npm install

Setup Project

Setup environment

Copy file .env.example and rename to .env. You can seting config environment in .env

Setup a database

  • Create database and run migration
  • Run the script
  npm run db:create && npm run db:generate
  • Generate Seeders
    npm run db:seed

Run Program

Run with nodemon

  npm run dev

Run with node

  npm start

Testing Program

  npm run test

Integration Testing

  npm run test:integration