Skip to content

asamountain/AgriTechBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 AgriTech Blog Platform

Open-source blog platform designed for agricultural technology enthusiasts, IoT engineers, and smart farming innovators

Live Demo License: MIT Contributions Welcome TypeScript Vercel

A modern, SEO-optimized blog platform specifically crafted for the agricultural technology community. Born from real-world IoT engineering experience and designed to help others share their AgriTech journey.

🚀 Why This Project Exists

This platform was created to solve a real problem: there's a lack of accessible, personal perspectives on AgriTech and IoT engineering. Most agricultural technology content is either too academic or too commercial. This blog platform provides a space for:

  • 🔧 Real IoT engineering experiences (RS485, Modbus, embedded systems)
  • 🌱 Smart farming insights from practitioners
  • 📚 Beginner-friendly technical explanations
  • 🤝 Community knowledge sharing

Key Features

🎯 Content Management

  • Rich Markdown Editor with live preview and auto-save
  • AI-Powered Tagging for content organization
  • Bulk Operations for efficient content management
  • Draft System with seamless publishing workflow

🔍 SEO & Discovery

  • AI Chatbot Optimized (ChatGPT, Claude, Perplexity discovery)
  • Dynamic XML Sitemaps with real-time updates
  • Open Graph Images for social sharing
  • Structured Data (JSON-LD) for rich snippets
  • Mobile-First Design for optimal indexing

🛠️ Developer Experience

  • TypeScript throughout for type safety
  • Modern React with hooks and suspense
  • Vercel Serverless functions for scalability
  • MongoDB for flexible data storage
  • Hot Reload development environment

🏃‍♂️ Quick Start

One Command Setup

npm run dev

Then open: http://localhost:5173

That's it! 🎉

What You Get

  • ✅ Frontend + Backend running
  • ✅ Hot reload enabled
  • ✅ API proxy configured
  • ✅ Admin panel at /admin
  • ✅ Debug tools included

📦 Installation

Prerequisites

  • Node.js 18+
  • MongoDB Atlas account (free tier works)
  • Git

1. Clone & Install

git clone https://github.com/asamountain/AgriTechBlog.git
cd AgriTechBlog
npm install

2. Environment Setup

cp env.example .env

Edit .env with your MongoDB connection:

MONGODB_URI=mongodb+srv://your-connection-string
SESSION_SECRET=your-random-secret-key

3. Start Developing

npm run dev

Visit http://localhost:5173 and start creating! 🚀

🌟 Live Demo

🔗 https://tech-san.vercel.app

Explore the live platform to see:

  • Real AgriTech blog posts about RS485, Modbus, IoT engineering
  • Admin dashboard for content management
  • SEO optimization in action
  • Mobile-responsive design

🏗️ Project Structure

AgriTechBlog/
├── 📱 client/src/          # React frontend
│   ├── components/         # Reusable UI components
│   ├── pages/             # Application routes
│   ├── hooks/             # Custom React hooks
│   └── lib/               # Utilities
├── 🚀 api/                # Vercel serverless functions
├── 🔧 server/             # Development server
├── 📊 shared/             # TypeScript types
└── 📚 docs/               # Documentation

Core Technologies

  • Frontend: React 18 + TypeScript + Vite + Tailwind CSS
  • Backend: Node.js + MongoDB + Vercel Serverless
  • UI Components: Radix UI + Custom AgriTech theme
  • Development: Hot reload + TypeScript strict mode

🎨 Design Philosophy

AgriTech-Focused Aesthetics

  • 🌲 Forest Green Primary (#2D5016) - Representing nature and growth
  • 📐 Golden Ratio Proportions (1:1.618) - Mathematical harmony
  • 📱 Mobile-First - Accessible anywhere, anytime
  • ⚡ Performance-Optimized - Fast loading for better UX

Content-First Approach

  • Clean typography for technical content
  • Code-friendly markdown support
  • Image optimization for agricultural photos
  • SEO-optimized for discoverability

🤝 Contributing

We welcome contributors of all levels! Whether you're:

  • 🌱 New to coding - Great first-time contributor opportunities
  • 🔧 IoT/AgriTech expert - Share your domain knowledge
  • 💻 Experienced developer - Help with architecture and optimization
  • 📝 Content creator - Improve documentation and guides

How to Contribute

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch
    git checkout -b feature/amazing-feature
  3. 💻 Make your changes
    • Follow our coding standards
    • Add tests for new features
    • Update documentation as needed
  4. ✅ Test your changes
    npm run build  # Ensure it builds
    npm run dev    # Test locally
  5. 📝 Commit with clear message
    git commit -m "✨ Add amazing feature for AgriTech users"
  6. 🚀 Push and create PR
    git push origin feature/amazing-feature

Good First Issues

Look for issues labeled good-first-issue:

  • 📝 Documentation improvements
  • 🎨 UI/UX enhancements
  • 🐛 Bug fixes
  • 🌐 Accessibility improvements

Feature Ideas We'd Love

  • 🔍 Advanced search functionality
  • 🌍 Multi-language support
  • 📊 Analytics dashboard
  • 🔔 Email newsletter system
  • 🎥 Video content support
  • 📱 Progressive Web App features

🚀 Deployment

Quick Deploy to Vercel

Deploy with Vercel

Manual Deployment

# Build the project
npm run build

# Deploy to Vercel
npx vercel --prod

# Environment variables needed:
# - MONGODB_URI
# - SESSION_SECRET

Environment Variables

Variable Description Required
MONGODB_URI MongoDB connection string ✅ Yes
SESSION_SECRET Session encryption key ✅ Yes
NODE_ENV Environment (development/production) ❌ No

📈 SEO & Discoverability

This platform is optimized for maximum discoverability:

Search Engine Optimization

  • ✅ Dynamic XML sitemaps
  • ✅ Robots.txt optimization
  • ✅ Meta tags and Open Graph
  • ✅ Structured data (JSON-LD)
  • ✅ Mobile-first indexing

AI Chatbot Discovery

  • ✅ Optimized for ChatGPT, Claude, Perplexity
  • ✅ Clear content structure
  • ✅ Technical depth with context
  • ✅ Personal insights and experiences

See our SEO Guide for detailed optimization strategies.

🛠️ Development Commands

# Development
npm run dev          # Start dev server
npm run build        # Build for production

# Database
npm run db:test      # Test MongoDB connection

# Code Quality
npm run lint         # Check code style
npm run type-check   # TypeScript validation

# Deployment
npm run deploy       # Deploy to Vercel

🐛 Troubleshooting

Common Issues

❌ Database connection error

# Check your MongoDB URI
echo $MONGODB_URI

❌ Build fails

# Check TypeScript errors
npm run type-check

❌ Admin panel not working

# Visit /admin after starting dev server
npm run dev

Getting Help

🎯 Roadmap

Coming Soon

  • 📊 Advanced analytics dashboard
  • 🔍 Full-text search functionality
  • 🌍 Multi-language support
  • 📱 Progressive Web App features
  • 🎥 Video content support

Future Ideas

  • 🤖 AI-powered content suggestions
  • 🔔 Real-time notifications
  • 👥 User comments and community features
  • 📈 SEO performance tracking
  • 🎨 Theme customization

Vote on features or suggest new ones in our discussions!

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

What this means:

  • Free to use for personal and commercial projects
  • Modify and distribute as you like
  • No attribution required (but appreciated!)
  • Open source forever

🙏 Acknowledgments

  • 🌱 Inspiration: The AgriTech and IoT engineering community
  • 🛠️ Technology: Built with amazing open-source tools
  • 🤝 Contributors: Everyone who helps make this better
  • 📚 Content: Real-world IoT and smart farming experiences

🔗 Links


💝 Support This Project

If this project helps you or your organization, consider:

  • Star this repository to help others discover it
  • 🐛 Report bugs and suggest improvements
  • 🤝 Contribute code or documentation
  • 📢 Share with others in the AgriTech community
  • 💬 Join discussions and help other users

Built with ❤️ for the agricultural technology community

Started as a personal blog, growing into a platform for the entire AgriTech community to share knowledge and experiences.

About

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors