COIMBATORE INSTITUTE OF TECHNOLOGY
(AN AUTONOMOUS INSTITUTION AFFILIATED TO ANNA UNIVERSITY)
DEPARTMENT OF COMPUTING
[Link]., DECISION AND COMPUTING SCIENCES
MEAN STACK PROJECT REPORT
CAT – II
NAME : MUGHUL JAGANATH M
MUKESH S
RAKSHAN SP
YOGESH M
REG NO. : 2303717673721024
2303717673721025
2303717673721041
2303717673721054
SUBJECT CODE: 22MDC55
SUBJECT : Full Stack Application Laboratory
FACULTY : Dr. D. Manju
Dr. V. Radhamani
MARKS :
PROJECT : AGRICONNECT SYSTEM
GitHub Repository Link: [Link]
PROBLEM STATEMENT :
In the modern agricultural landscape, stakeholders such as
farmers, dealers, buyers, and government officials face significant challenges due to
fragmented information flow, lack of real-time communication, and limited access to critical
data like weather forecasts and market prices. Traditional methods rely on manual processes,
leading to inefficiencies, delayed decision-making, and reduced productivity. For instance,
farmers often miss optimal planting windows due to inaccurate weather predictions, while
dealers and buyers struggle with opaque product listings and market trends. Government
officials lack a centralized platform for disseminating advisories and monitoring compliance.
AgriConnect addresses these pain points by providing an integrated digital platform that
connects the agricultural supply chain, enabling real-time collaboration, data-driven insights,
and streamlined operations to enhance yield, reduce costs, and promote sustainable farming
practices.
OBJECTIVE AND SCOPE :
Objectives:
To develop a user-friendly platform that integrates weather forecasting to assist
farmers in planning activities.
To enable product listing and market data visualization for dealers and buyers to
facilitate transparent transactions.
To implement secure individual and group chat functionalities for stakeholder
communication.
To create a dedicated dashboard for government officials to share policies, advisories,
and monitor agricultural metrics.
To incorporate social media-like information sharing for knowledge dissemination
(e.g., tips, crop updates).
To ensure scalability and security using MEAN stack technologies for handling multi-
user interactions.
Scope:
In Scope: User authentication/authorization (roles: Farmer, Dealer, Buyer, Govt
Official, Admin), weather API integration (OpenWeatherMap), real-time chat
([Link]), product CRUD operations, post sharing (MongoDB-stored feeds), market
analytics dashboard.
Out of Scope: Mobile app development, advanced AI for crop disease detection,
payment gateway integration.
Target Users: 100+ concurrent users in rural/urban agricultural communities.
Assumptions: Users have basic internet access; third-party APIs (e.g., weather) are
reliable.
SYSTEM DESCRIPTION :
Admin Panel: Manages users (Farmers, Dealers, Buyers, Govt Officials, Admins),
products, categories, and market data; moderates posts and provides platform
analytics.
User Module: Enables farmers to list products and view weather, dealers to manage
stock and market data, and buyers to browse and purchase products.
Communication Module: Supports real-time individual and group chats using
[Link], with MongoDB-stored message history and notifications.
Information Sharing Module: Offers an Instagram-like feed for sharing agricultural
posts (text/images) with real-time likes and comments via WebSockets.
Weather Forecasting Module: Integrates OpenWeatherMap API for real-time
weather and 5-day forecasts, cached in MongoDB for efficiency.
Reporting Dashboard: Displays graphical analysis of market prices, crop trends, and
dealer performance for government officials and stakeholders.
Authentication Module: Handles secure login, signup, and logout with JWT tokens,
enforcing role-based access and input validation (e.g., rejecting "varun@[Link]").
API Layer: Manages CRUD operations for users, products, posts, and chats using
[Link], [Link], and MongoDB, with real-time [Link] updates.
SOFTWARE REQUIREMENTS :
Frontend: Angular 17, Angular Material, HTML5, CSS3, TypeScript
Backend: [Link], [Link]
Database: MongoDB (Cloud - MongoDB Atlas)
Development Tools: VS Code, Git, Postman, Node Package Manager (npm)
Hosting/Deployment: Netlify / Render / GitHub Pages
Version Control: Git and GitHub
UML DIAGRAMS :
Use case diagram :
Activity Diagram :
ER – Diagram :
System Architecture Diagram :
Deployment Diagram:
Frontend (Render) ↔ Backend API (Render) ↔ Database (MongoDB Atlas)
CONCEPTS IMPLEMENTED :
Full Stack MEAN Architecture (MongoDB, Express, Angular, Node)
Angular Components & Reactive Forms
[Link] RESTful APIs for CRUD operations
JWT-based Authentication & Authorization
Data Visualization using [Link] to view the chat
Responsive UI using Angular Material
Routing and Lazy Loading in Angular for better performance
Error Handling and Form Validation on both client and server sides
Environment-based Configuration for development and production builds
MODULES DESCRIPTION :
Login & Authentication Module: Secures user access with JWT tokens, implements
role-based routing for Farmers, Dealers, Buyers, Govt Officials, and Admins, and
validates inputs to reject invalid data like "varun@[Link]".
Product Management Module: Enables dealers to add, edit, view, and delete product
listings with details like crop name, stock levels, prices, and images, stored in
MongoDB with Multer for file uploads.
Weather Forecasting Module: Integrates OpenWeatherMap API to provide real-time
weather updates and 5-day forecasts, cached in MongoDB to support farmers’
planning decisions.
Communication Module: Facilitates real-time individual and group chats using
[Link], with MongoDB-stored message history for seamless stakeholder
collaboration.
Information Sharing Module: Supports an Instagram-like feed for users to post
agricultural tips and images, with real-time likes and comments powered by
WebSockets.
Market Data Module: Provides dealers and markets information.
User Management Module: Allows each user to create, update, and delete user
accounts, assign roles (e.g., Farmer, Dealer), and moderate platform content and
activities.
OUTPUT SCREENSHOTS :
CONCLUSION:
AgriConnect effectively showcases a robust, scalable, and secure agricultural
management platform built on the MEAN Stack. It streamlines farming operations by
automating weather forecasting, product listing, real-time communication, and market
data analytics, enhancing stakeholder collaboration and decision-making. The modular
architecture ensures maintainability and adaptability, making it an ideal solution for
modern agricultural ecosystems.
FUTURE ENHANCEMENTS:
Integration with IoT sensors for real-time soil and crop monitoring.
AI-driven crop yield prediction using machine learning models.
Mobile app development with Angular and Ionic for on-the-go access.
Push notifications and email alerts for weather changes or new messages.
Integration with payment gateways like Razorpay for direct transactions.
Multi-language support for regional accessibility using Angular i18n.
Offline mode with local storage sync for unreliable network areas.
REFERENCES:
Angular Documentation: [Link]
MongoDB Developer Guides: [Link]
[Link] API Reference: [Link]
[Link] Documentation: [Link]
[Link] Documentation: [Link]
OpenWeatherMap API: [Link]
GitHub Repository: [Link]