Skip to content

API for PMB PMK ITB built using Node.js and Express

Notifications You must be signed in to change notification settings

pmk-itb/api-pmb

Repository files navigation

API PMB PMK ITB 2021

Install dependencies

  • Make sure you've installed yarn and connect the PATH.
  • At the root folder, execute on terminal/cmd: yarn install.
  • Install prettier and eslint as global dependency.
yarn global add prettier
yarn global add eslint
  • Open settings.json of your VSCode instance and add this bunch of lines.
{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "eslint.validate": ["javascript"]
}

Get started

  • Make a file named .env
  • Copy .env.example to .env.development and set the local config for your development environment.
  • (If needed) Copy .env.example to env.test and set the config for your testing environment.
  • Run yarn run dev

db push with rollback

To perform db push with rollback on dev env, run this command

yarn run dev:push

and for testing environment

yarn run test:push

Commit convention

Check out these links:

API

About

API for PMB PMK ITB built using Node.js and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published