NODE_ENV=development
PORT=3434
API_URI=http://localhost:3434/api
# Staging DB
# MONGO_URL=mongodb+srv://mawad:1DmY1ROUtJNfHYj3@cluster0.pd1pdsf.mongodb.net/
# Local DB
# MONGO_URL=mongodb://127.0.0.1:27343/crm
# Local DB run with docker
MONGO_URL=mongodb://db:27017/crmyarnMust use local db or staging db (check at .env file)
yarn devor
Must use docker db or staging db (check at .env file)
docker compose up-
Pull new code
-
Build code
$ yarn build- Restart pm2
$ pm2 restart crmFormat code: Prettier (https://prettier.io/)
UIUX: https://storybook.adminjs.co
Commit code: https://www.conventionalcommits.org/en/v1.0.0/