Conversation
Co-authored-by: gglct.com <gglct.com@gmail.com>
|
Cursor Agent can help with this pull request. Just |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
Co-authored-by: gglct.com <gglct.com@gmail.com>
Co-authored-by: gglct.com <gglct.com@gmail.com>
User description
Initial scaffolding and core implementation of a production-ready CRM suite with Next.js, Prisma, and essential modules.
This PR establishes the foundational architecture for the requested CRM system, including a Next.js 14 application with TypeScript, Tailwind RTL, Prisma (PostgreSQL), JWT authentication, and RBAC. It sets up a comprehensive database schema, core API routes, and initial UI skeletons for key modules like Dashboard, Leads, and Orders, all designed for a full-screen, responsive Persian user experience. Dockerization is also included for streamlined development and deployment.
PR Type
Enhancement
Description
Complete CRM system scaffolding with Next.js 14
Comprehensive database schema with Prisma ORM
JWT authentication and RBAC implementation
Persian RTL UI with dashboard and modules
Diagram Walkthrough
File Walkthrough
13 files
Comprehensive database schema with 25+ modelsPersian login form with validationDashboard layout with Persian navigationLead management table interfaceOrder listing with customer detailsJWT authentication API endpointLead CRUD API operationsDashboard overview with Persian calendarJWT token and password utilitiesAuthentication middleware with RTL headersSettings page with configuration sectionsReports page placeholder structureMessage management interface placeholder6 files
Project dependencies and build scriptsTailwind configuration with RTL supportMulti-stage Docker build configurationPostgreSQL and web service orchestrationEnvironment variables for database and JWTDatabase seeding with admin user1 files
RTL styling with Persian font18 files