GrowFarm is a social media mobile application designed to be a hub for information, ideas, and doubt sharing among farmers, botanists, and brokers. The project encompasses a mobile application, a commercial website, and a containerized API, providing a comprehensive platform for agricultural networking and knowledge exchange.
- Social Media Platform: Facilitates information exchange and networking among farmers, botanists, and brokers.
- Mobile Application: Front-end built with Kotlin.
- Commercial Website: Developed using React JS.
- RESTful Architecture: Ensures a scalable and maintainable application structure.
- Containerized API: Utilizes Docker for containerization.
- Database Management: MongoDB is used for managing the application's data.
- Front-End (Mobile App): Kotlin
- Front-End (Website): React JS , TailwindCSS
- Back-End: Node.js , Express.js
- Database: MongoDB , Cloudinary
- Hosting: Vercel
- Containerization: Docker
Follow these instructions to set up the project on your local machine for development and testing purposes.
Make sure you have the following installed on your system:
- Clone the repository:
git clone https://github.com/vikrampatel0408/api-grow-farm.git
- Navigate to the project directory
cd api-grow-farm
- Install dependencies
npm install
- Set up your MongoDB connection. Create a .env file in the backend directory and add the following:
MONGO_URI=your_mongo_connection_string
- Start the back-end server:
npm start
- To run the Docker container for the API, navigate back to the backend directory and run:
docker build -t growfarm-api . docker run -p 3000:3000 growfarm-api
- You can directly run container using Docker command
docker run vikrampatel/growfarm
Both the application and the website are hosted on Vercel.
- Frontend: The website is developed with React JS and deployed on Vercel.
- Backend: Backend: The API is developed with Node.js, containerized using Docker, and deployed on Vercel.