Complete E-commerce site built with Node.js, React, Redux, Express, MongoDB
Add config variables values in the config.env file in config folder.
PORT = NODE_ENV = FRONTEND_URL =
DB_LOCAL_URI = DB_URI =
JWT_SECRET = JWT_EXPIRES_TIME = COOKIE_EXPIRES_TIME =
CLOUDINARY_CLOUD_NAME = CLOUDINARY_API_KEY = CLOUDINARY_API_SECRET =
STRIPE_SECRET_KEY = STRIPE_API_KEY =
SMTP_HOST = SMTP_PORT = SMTP_EMAIL = SMTP_PASSWORD = SMTP_FROM_EMAIL = SMTP_FROM_NAME =
npm i
Use the following commeand to put some dummy products in that database.
npm run seeder