+
+
+

๐Ÿš€ RESTful API

+

Modern REST API built with Node.js, Express, and TypeScript for seamless integration

+
+
+

๐Ÿ” Secure Authentication

+

JWT-based authentication with OAuth support for Google and Facebook login

+
+
+

๐Ÿ“ฑ Mobile Ready

+

Optimized for mobile applications with push notifications and real-time updates

+
+
+ +
+

๐Ÿ› ๏ธ Technology Stack

+
+
Node.js
+
Express.js
+
TypeScript
+
PostgreSQL
+
Sequelize ORM
+
JWT Authentication
+
Nodemailer
+
Cloudinary
+
+
+ +
+

๐Ÿ”— API Endpoints

+ +
+

Authentication

+
+ POST + /api/v1/auth/signup - User registration with OTP verification +
+
+ POST + /api/v1/auth/login - User login with JWT tokens +
+
+ POST + /api/v1/auth/verifyOTP - OTP verification for account activation +
+
+ POST + /api/v1/auth/refreshToken - Refresh JWT access token +
+
+ +
+

Products

+
+ GET + /api/v1/products - Get all products with pagination +
+
+ POST + /api/v1/products - Create new product (Farmers only) +
+
+ GET + /api/v1/products/:id - Get product by ID +
+
+ PUT + /api/v1/products/:id - Update product (Owner only) +
+
+ DELETE + /api/v1/products/:id - Delete product (Owner only) +
+
+ +
+

Orders & Transactions

+
+ POST + /api/v1/orders - Create new order +
+
+ GET + /api/v1/orders - Get user orders +
+
+ POST + /api/v1/payments - Process payment +
+
+ +
+

User Management

+
+ GET + /api/v1/users/profile - Get user profile +
+
+ PUT + /api/v1/users/profile - Update user profile +
+
+ POST + /api/v1/users/upload-avatar - Upload profile picture +
+
+
+ +
+
+

๐Ÿ”’ Secure

+

JWT authentication, input validation, and rate limiting

+
+
+

๐Ÿ“Š Scalable

+

Built with scalability in mind using modern architecture patterns

+
+
+

๐Ÿ“ฑ Mobile-First

+

Optimized for mobile applications with responsive design

+
+
+

๐ŸŒ Real-time

+

Push notifications and real-time updates for better user experience

+
+
+ +
+

๐Ÿš€ Getting Started

+

+ Start building your farming marketplace application today! +

+ +
+