npm run dev
npm start
Email not working?
check if SENDGRID_API_KEY
is set in .env file
SMS is not working? check if the following are set in .env file:
TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
TWILIO_MESSAGING_SERVICE_ID
OTP is not working? check if redis if configured properly in .env file
REDIS_HOSTNAME
REDIS_PORT
REDIS_PASSWORD
REDIS_DB
How can I view the redis database?
npm run redis-gui
localhost:8081
or the url displayed in the console in your browser
How to dump database from mongodb?
mongodump --uri 'URI_TO_MONGODB_DATABASE'
npm run db-dump
.
Note: make sure MONGODB_URL
is set in .env file before using the command npm run db-dump