EN:
Alignify is a management platform connecting social network influencers and brands, providing robust APIs for campaign, content, chat, and admin management.VI:
Alignify là nền tảng quản lý kết nối Influencer và Brand trên mạng xã hội, cung cấp API mạnh mẽ cho quản lý chiến dịch, nội dung, chat và admin.
- Brand: Launch & manage campaigns, send invitations, review influencer progress.
- Influencer: Create content, apply to campaigns, update progress, interact.
- Admin: Moderate content/users, handle reports, create upgrade packages.
- Group chat: Brands & Influencers chat during collaborations.
- Interactions: Like, comment on influencer posts.
| ☕ Java 21+ | 🧑💻 Spring Boot 3.x |
| 🍃 MongoDB | 📨 Gmail SMTP |
| ☁️ Cloudinary | 💳 PAYOS, PayPal |
| 📦 Docker | 🔑 JWT Auth |
| 📝 Swagger UI |
git clone https://github.com/khovan123/alignify-backend.git
cd alignify-backend
./mvnw clean installCreate a .env file or set the following environment variables:
API_SECRET_KEY=...
MONGODB_URI=...
MAIL_USERNAME=...
MAIL_PASSWORD=...
CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...
GOOGLE_CLIENT_ID=...
GOOGLE_SECRET_KEY=...
GEMINI_API_KEY=...
RAPIDAPI_KEY=...
PAYOS_CLIENT_ID=...
PAYOS_API_KEY=...
PAYOS_CHECKSUM_KEY=...
PAYPAL_CLIENT_ID=...
PAYPAL_CLIENT_SECRET=..../mvnw spring-boot:runAccess Swagger UI for API documentation:
http://localhost:8080/swagger-ui
Or online Swagger UI:
https://alignify-backend.onrender.com/swagger-ui
docker build -t alignify-backend .
docker run -d --env-file .env -p 8080:8080 alignify-backendAccess the live web app:
https://alignify-rose.vercel.app
| 🛡️ Admin | 🎯 Brand | ⭐ Influencer |
|---|---|---|
| Manage/ban users | Create/manage campaigns | Create post, apply campaign |
| Delete content/campaign | Invite influencer, review progress | Accept/decline invites |
| Handle reports | Track campaign progress | Update progress |
| Create upgrade packages |
Current Version: v1.3.1 (July 24, 2025)
Release Type: Initial Stable Release
Compatibility: Production Ready
- 📖 Release Notes - Detailed release information and migration guide
- 📝 Changelog - Complete version history and changes
- 🏷️ Versioning Guide - Semantic versioning and tagging conventions
- 📚 Documentation Index - Complete documentation overview
- 🔗 GitHub Releases - Download and release history
- 🚀 Release Scripts - Automated release tools
This project follows Semantic Versioning:
- Production:
v1.0.0,v1.1.0,v2.0.0 - Pre-release:
v1.1.0-alpha.1,v1.1.0-beta.1,v1.1.0-rc.1 - All tags are prefixed with
vfollowing best practices
- RESTful & JWT Auth, versioned at
/api/v1/ - Swagger UI: http://localhost:8080/swagger-ui or https://alignify-backend.onrender.com/swagger-ui
- Main endpoints:
/api/campaigns,/api/users,/api/posts,/api/auth,/api/reports - See detailed design and API rules for more information.
- Fork & create a new branch.
- Follow the DETAILED_DESIGN.md file (required!).
- Pull Request: Provide a clear description and link related tasks/discussions.
- Update API docs if API structure changes.
- Thorough code review before merging.
MIT © khovan123
EN:
All changes must strictly follow the detailed design file and project conventions.
VI:
Alignify là nền tảng quản lý kết nối Influencer và Brand trên mạng xã hội, cung cấp API mạnh mẽ cho quản lý chiến dịch, nội dung, chat và admin.
- Brand: Đăng & quản lý chiến dịch, gửi lời mời, duyệt tiến độ influencer.
- Influencer: Đăng bài, ứng tuyển chiến dịch, cập nhật tiến độ, tương tác.
- Admin: Quản lý bài đăng/người dùng, xử lý báo cáo, tạo gói nâng cấp.
- Chat nhóm: Brand & Influencer chat trao đổi khi hợp tác.
- Tương tác: Like, comment trên bài content/idea của influencer.
| ☕ Java 21+ | 🧑💻 Spring Boot 3.x |
| 🍃 MongoDB | 📨 Gmail SMTP |
| ☁️ Cloudinary | 💳 PAYOS, PayPal |
| 📦 Docker | 🔑 JWT Auth |
| 📝 Swagger UI |
git clone https://github.com/khovan123/alignify-backend.git
cd alignify-backend
./mvnw clean installTạo file .env hoặc đặt các biến môi trường như sau:
API_SECRET_KEY=...
MONGODB_URI=...
MAIL_USERNAME=...
MAIL_PASSWORD=...
CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...
GOOGLE_CLIENT_ID=...
GOOGLE_SECRET_KEY=...
GEMINI_API_KEY=...
RAPIDAPI_KEY=...
PAYOS_CLIENT_ID=...
PAYOS_API_KEY=...
PAYOS_CHECKSUM_KEY=...
PAYPAL_CLIENT_ID=...
PAYPAL_CLIENT_SECRET=..../mvnw spring-boot:runTruy cập tài liệu API tại Swagger UI:
http://localhost:8080/swagger-ui
Hoặc xem Swagger UI online:
https://alignify-backend.onrender.com/swagger-ui
docker build -t alignify-backend .
docker run -d --env-file .env -p 8080:8080 alignify-backendTruy cập web live tại:
https://alignify-rose.vercel.app
| 🛡️ Admin | 🎯 Brand | ⭐ Influencer |
|---|---|---|
| Quản lý/cấm user | Đăng & quản lý chiến dịch | Đăng bài, ứng tuyển |
| Xoá bài, chiến dịch | Mời influencer, duyệt tiến độ | Nhận/từ chối lời mời |
| Xử lý báo cáo | Quản lý tiến độ | Cập nhật tiến độ |
| Tạo gói nâng cấp |
Phiên Bản Hiện Tại: v1.3.1 (24 tháng 7, 2025)
Loại Phiên Bản: Phiên Bản Ổn Định Đầu Tiên
Tương Thích: Sẵn Sàng Production
- 📖 Ghi Chú Phiên Bản - Thông tin chi tiết về phiên bản và hướng dẫn migration
- 📝 Nhật Ký Thay Đổi - Lịch sử phiên bản và thay đổi hoàn chình
- 🏷️ Hướng Dẫn Versioning - Quy tắc semantic versioning và tagging
- 📚 Chỉ Mục Tài Liệu - Tổng quan tài liệu hoàn chình
- 🔗 GitHub Releases - Tải xuống và lịch sử phiên bản
- 🚀 Scripts Phát Hành - Công cụ release tự động
Dự án tuân thủ Semantic Versioning:
- Production:
v1.0.0,v1.1.0,v2.0.0 - Pre-release:
v1.1.0-alpha.1,v1.1.0-beta.1,v1.1.0-rc.1 - Tất cả tag đều có tiền tố
vtheo best practices
- RESTful & JWT Auth, version
/api/v1/ - Swagger UI: http://localhost:8080/swagger-ui hoặc https://alignify-backend.onrender.com/swagger-ui
- Các endpoint chính:
/api/campaigns,/api/users,/api/posts,/api/auth,/api/reports - Xem thêm tại DETAILED_DESIGN.md và API rules.
- Fork & tạo branch mới.
- Tuân thủ file DETAILED_DESIGN.md (bắt buộc!).
- Pull Request: Mô tả rõ ràng, dẫn nguồn task/thảo luận liên quan.
- Update tài liệu API nếu thay đổi cấu trúc API.
- Code review kỹ lưỡng trước khi merge.
MIT © khovan123
VI:
Mọi thay đổi phải tuân thủ nghiêm ngặt file thiết kế chi tiết & quy tắc dự án!