dikarenakan saya menggunakan NodeJS, maka yang harus dipersiapkan terlebih dahulu adalah :
Aplikasi | Kegunaan | Link |
---|---|---|
NodeJS | lingkungan javascript untuk running JS diluar browser | download & install |
Yarn | package manager yang lebih mudah digunakan daripada NPM | doc |
Nodemon | auto reload service jika project di save (for development only) | doc |
ExpressJS | framework web app untuk NodeJS yang ditulis dengan bahasa pemrograman JavaScript | doc |
TypeORM | sebagai penghubung dan mempermudah membuat aplikasi menggunakan database berbasis rasional | doc |
npm i -g nodemon yarn cross-env
npm install
// or
yarn install
//-> start project (if you have finished build project)
npm run start
// or
yarn start
//-> start project (development)
npm run dev
// or
yarn dev
// or
nodemon
//-> clean all error file
yarn clean
//-> delete node_modules and install again
yarn reset
//-> build !!!
npm run build
// or
yarn build