Agriboost is a comprehensive agricultural news and information platform that aggregates news from multiple agricultural sources, provides government scheme information, and offers various agricultural services to farmers and agricultural professionals.
Visit: Agriboost Render Link
- News Aggregation: Real-time news from multiple agricultural sources
- Government Schemes: Information about agricultural schemes and subsidies
- User Authentication: Secure login and registration system
- Profile Management: User profiles with customizable settings
- News Tracking: View and click tracking for news articles
- Search Functionality: Advanced search with filters for news articles
- Backend: Node.js, Express.js
- Database: MongoDB
- Frontend: EJS Templates
- Authentication: JWT (JSON Web Tokens)
- Additional Libraries:
- Cheerio (Web Scraping)
- Axios (HTTP Client)
- Multer (File Upload)
- Bcrypt (Password Hashing)
├── app.js # Main application file
├── models/ # Database models
├── views/ # EJS templates
├── public/ # Static files
├── routes/ # Route handlers
├── services/ # Business logic
├── middleware/ # Custom middleware
└── .env # Environment variables
- Clone the repository:
git clone https://github.com/08-SUBHAM/Agriboost.git
cd Agriboost- Install dependencies:
npm install- Create a
.envfile with the following variables:
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
COOKIE_SECRET=your_cookie_secret- Start the server:
npm startGET /api/news/search- Search news articlesPOST /api/news/:id/view- Track article viewsPOST /api/news/:id/click- Track article clicks
POST /register- User registrationPOST /login- User loginGET /logout- User logoutGET /profile- View profilePOST /profile- Update profile
GET /api/schemes- Get all schemesGET /api/schemes/:id- Get scheme details
The platform aggregates news from multiple sources:
- AgriNews
- Agriculture.com
- Modern Farmer
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- All news sources for providing agricultural content
- Contributors and maintainers
- Open source community
Subham - GitHub Profile Project Link: https://github.com/08-SUBHAM/Agriboost