✨ API, CRM, Client and Mobile application of Awesome-Ecom , an online shopping portal
make environment file with the following keys' values:
MONGO_URI_LOCAL = "path to mongodb url local"
MONGO_URI = "path to mongodb url prod"
PORT = 3001
ECOM_EMAIL = "your email"
ECOM_PASSWORD = "your password"
ADMIN_CRM_ROUTE= http://localhost:3003
CLIENT_URL = http://localhost:3002
JWT_EMAIL_VERIFICATION_KEY = console.log('eamilverify')
JWT_SIGNIN_KEY = console.log('signin')
BASE_URL_LOCAL = http://localhost:3001/api
SIGNIN_EXPIRE_TIME = 1d
EMAIL_TOKEN_EXPIRE_TIME = 1h
REFRESH_TOKEN_KEY = console.log('refreshtoken')
REFRESH_TOKEN_EXPIRE = 4d
TRANS_COLL = _transname_
make environment file with the following keys' values:
BASE_URL = "http://localhost:3002"
SERVER_BASE_URL = "http://localhost:3001"
IMAGE_BASE_URL = "http://localhost:3001/uploads"
JWT_SIGNIN_KEY = console.log('signin')
JWT_EMAIL_VERIFICATION_KEY = console.log('eamilverify')
make environment file with the following keys' values:
REACT_APP_ADMIN_CRM_ROUTE= http://localhost:3000
REACT_APP_CLIENT_URL = http://localhost:3002
REACT_APP_JWT_EMAIL_VERIFICATION_KEY = console.log('eamilverify')
REACT_APP_JWT_SIGNIN_KEY = console.log('signin')
REACT_APP_SERVER_URL = http://localhost:3001/
REACT_APP_SOCKET.IO_SERVER_URL = http://localhost:3001/
Demo (Mobile App => React-Native)
having expo installed in your system, expo start