Agribazar is a platform designed to connect farmers, buyers, and sellers in a seamless online marketplace. This repository contains the backend codebase of the application.
##Prerequisites
-Node.js -MySQL -Redis -Cloudinary Account -Mapbox Account -Gmail account for SMTP
##LOAD SAMPLE DATA
-node seeds/index.js
##RUN APP
node app.js
To run this project, you will need to set up the following environment variables:
MYSQL_HOST=
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_DATABASE=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_KEY=
CLOUDINARY_SECRET=
MAPBOX_TOKEN=
REDIS_HOST=
REDIS_PORT=
REDIS_PASSWORD=
GMAIL=
MAIL_PASS=