This is a software project for a payment company. We are using Next.js, Shadcn UI, Tailwind CSS, TypeScript, and Firebase. The idea is that the frontpage can receive leads and we use the back end to manage the leads and to create a CRM.
Then I want an apply section where the customers can provide all the important information to apply for credit card processing.
I need you to help me write a script for the Back end Software to manage teh customers. Customers can be a lead, a merchant, . I would like a system like trello to manage the lead and ths status. With ability to send email when changing status.
The status in a column can be Lead,Phone Calls, Offer Sent,Underwriting, Documents, Approved.
PLease tell me what other features I would want in a crm fr merchant processing.
So I am going to send you a few prompts one by one until we can complete the project together.
# Code Completeness Rules
CODE_COMPLETENESS:
- Write the complete file content from start to finish without any placeholders or comments about previous content
- Do not use comments like "Rest of code remains the same" or "Code unchanged"
- Do not truncate any files
- Do not use placeholders
- Every file modification must be complete and self-contained
- Never use ellipsis (...) to indicate unchanged code
# UI Framework Rules
UI_COMPONENTS:
Admin Interface (Back Office):
- Use Shadcn UI components exclusively for admin interfaces
- Required Shadcn components:
- @/components/ui/button
- @/components/ui/input
- @/components/ui/form
- @/components/ui/select
- @/components/ui/dialog
- @/components/ui/dropdown-menu
- @/components/ui/table
- @/components/ui/tabs
- @/components/ui/card
- @/components/ui/toast
- @/components/ui/switch
- Follow Shadcn component naming conventions
- Use Shadcn theming system for admin interface
- Maintain consistent component styling across admin panels
- Use Shadcn form handling with react-hook-form
Public Website (Front Office):
- Use custom components with Tailwind CSS
- Always make the web pages beautiful and use as much effect as possible to improve the user experience
- Implement custom designs for better brand identity
- Use custom animations and transitions
- Maintain unique visual identity separate from admin interface
# Component Documentation
DOCUMENTATION:
- Add JSDoc comments for component props
- Document component usage patterns
- Include example usage in comments
- Document any complex logic or business rules
- Add TODO comments for future improvements
# File Structure
FILE_STRUCTURE:
Admin Components:
- Place in src/components/admin/
- Use Shadcn UI components
- Follow consistent layout patterns
- Implement proper loading states
- Use proper error boundaries
Public Components:
- Place in src/components/
- Use custom Tailwind components
- Implement unique designs
- Focus on performance and accessibility
- Use proper SEO practices
# Code Generation Rules
CODE_GENERATION:
- Generate complete files without truncation
- Include all imports and exports
- Include all type definitions
- Include all necessary comments
- Include all error handling
- Include all loading states
- Never use placeholder comments
File Structure:
```
βββ πwikipayit
βββ π.bolt
βββ config.json
βββ prompt
βββ πsrc
βββ πassets
βββ πmodels
βββ credit-card.mtl
βββ credit-card.obj
βββ πtextures
βββ gradient.png
βββ authorize.png.webp
βββ particles.json
βββ πcomponents
βββ πadmin
βββ AdminLayout.tsx
βββ SortableSection.tsx
βββ SuperAdmin.tsx
βββ WebsiteManagement.tsx
βββ πauth
βββ LoginModal.tsx
βββ πicons
βββ AuthorizeNetLogo.tsx
βββ πlayouts
βββ MainLayout.tsx
βββ πui
βββ navigation-menu.tsx
βββ switch.tsx
βββ ACHSection.tsx
βββ Authorize.svg
βββ ChargebackSection.tsx
βββ ContactForm.tsx
βββ EntrepreneurSection.tsx
βββ Footer.tsx
βββ GatewaySection.tsx
βββ Header.tsx
βββ HeroSection.tsx
βββ HighRiskSection.tsx
βββ IndustriesSection.tsx
βββ POSSection.tsx
βββ PricingSection.tsx
βββ TestimonialCard.tsx
βββ TestimonialsSection.tsx
βββ πconfig
βββ πcontexts
βββ AuthContext.tsx
βββ πhooks
βββ useToast.tsx
βββ πlib
βββ firebase.ts
βββ utils.ts
βββ πpages
βββ HomePage.tsx
βββ LoginPage.tsx
βββ πpublic
βββ πservices
βββ websiteService.ts
βββ .DS_Store
βββ App.tsx
βββ index.css
βββ main.tsx
βββ vite-env.d.ts
βββ .cursorrules
βββ .DS_Store
βββ .env
βββ .gitignore
βββ eslint.config.js
βββ index.html
βββ package-lock.json
βββ package.json
βββ postcss.config.js
βββ robots.txt
βββ tailwind.config.js
βββ tsconfig.app.json
βββ tsconfig.json
βββ tsconfig.node.json
βββ vite.config.ts
```css
eslint
firebase
golang
html
javascript
next.js
react
+5 more
First Time Repository
Created with StackBlitz β‘οΈ
TypeScript
Languages:
CSS: 8.0KB
HTML: 1.7KB
JavaScript: 3.0KB
TypeScript: 841.2KB
Created: 11/16/2024
Updated: 1/1/2025
All Repositories (1)
Created with StackBlitz β‘οΈ