username : admin,
password : rahasia
API fetch docs:
https://documenter.getpostman.com/view/11227477/Szt8fAkx
Before clone this repo, make sure that you already install:
- Nodejs & Npm (latest is better)
- Mongodb (mongo compass also better to be installed)
Before run app, make sure that you already install all mode with command:
npm i
To run this code you need to insert the data to DB, you need to run the seed.js (you can find in this repo). terminal need to be in the repo directory and run this command:
node seed.js
after that, you already can view the website with this command:
npm run dev
Test API configuration by command:
npm run test
open localhost:3000
enjoy!!