This project was bootstraped from create-react-app.
- Instructions
- Dependencies
- Description
- Contributions
Follow below steps to start local development environment:
- Download or clone this repository.
- cd into this folder.
cd agro-mart-client
. - Install the required dependencies using
npm install
command. - Until all dependencies gets installed, create a new file
secret.js
under thesrc/
directory of the project. Fill it up with you proper credentials. Make sure to use the sameGOOGLE_CLIENT_ID
that you used in your agro-mart-server project otherwise it won't work.
export default {
GOOGLE_CLIENT_ID: 'YOUR_GOOGLE_CLIENT_ID_HERE',
GOOGLE_MAPS_API: 'YOUR_GOOGLE_MAPS_API_HERE',
};
- Once dependencies are install, run
npm start
command to start localhost server. A new tab will automatically open in your default browser if not then the server will be started on http://localhost:3000.
All required development and production dependencies are listed in package.json
file.
The main idea behind this project is to connect customers and farmers directly with the help of this application. The advantages being
- Customers can get fresh foods/vegetables directly from farmers.
- Farmers get their fair amount of money instead of selling with wholesale dealers who takes away most amount of profit.
This project has separate backend and frontend. The source code of backend API is available here.
Feel free to raise an issue if you find any and also feel free to contribute to this project. Raise a pull request of the solution 😄.
HAPPY CODING 💻
HAPPY LEARNING 📚