This API is for Sip POS App.
npm install
Nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
If you have already installed, skip this step.
npm install -g nodemon
Create .env file in your root project folder.
PORT = 4000
DB_HOST = localhost
DB_USER = root
DB_PASSWORD = your_password
DB_DATABASE = db_sipPos
PRIVATE_KEY = your_private_key
PRIVATE_KEY_REFRESH_TOKEN = your_private_key
BASE_URL = http://localhost:4000
# For Redirect User When Click Link Activation. Just Change The 'localhost:8080'
BASE_URL_FRONTEND = http://localhost:8080/auth/login
URL_RESET_PASSWORD = http://localhost:8080/auth/reset-password
PORT_REDIS = 6379
# For Send Email To User
EMAIL_USER = your_email
PASS_USER = your_password_email
npm run dev