bởi Kai

Full-stack CRM application with React 18 frontend and TypeScript backend, featuring accounts, contacts, leads, opportunities, tasks, activities, and notes management. Includes JWT authentication, paginated list views with search, and a dashboard with pipeline summaries—ready to deploy with Vite and Tailwind CSS v4.
CRM TemplateKit is a full-featured Customer Relationship Management application built with React, TypeScript, Vite, and Tailwind CSS v4. It provides a complete frontend and backend solution for managing customer data, sales pipelines, and business activities. The application integrates with the TetreesAI CRM backend API and uses JWT-based authentication for secure access.
| Module | Description |
|---|---|
| Dashboard | Stats overview, recent activities, pipeline summary |
| Accounts | Company records with full CRUD, search, and pagination |
| Contacts | People records linked to accounts |
| Leads | Prospect tracking with status and source management |
| Opportunities | Deal pipeline with stages and value tracking |
| Tasks | To-do items with priority, due dates, and status |
| Activities | Calls, emails, meetings, and task logs |
| Notes | Free-form notes linked to contacts and accounts |
| Technology | Version | Purpose |
|---|---|---|
| React | 19 | UI framework |
| TypeScript | 5.6 | Type safety |
| Vite | 6 | Build tool & dev server |
| Tailwind CSS | v4 | Utility-first styling |
| React Router DOM | 7.14 | Client-side routing (HashRouter) |
src/
├── components/ # Shared UI components
│ ├── Badge.tsx
│ ├── ConfirmDialog.tsx
│ ├── EmptyState.tsx
│ ├── Modal.tsx
│ ├── Pagination.tsx
│ ├── ProfileModal.tsx
│ ├── SearchInput.tsx
│ ├── Spinner.tsx
│ └── Toast.tsx
├── contexts/
│ └── AuthContext.tsx # Authentication state & JWT management
├── lib/
│ └── api.ts # API client with fetchWithRetry
├── pages/
│ ├── AccountsPage.tsx
│ ├── ActivitiesPage.tsx
│ ├── ContactsPage.tsx
│ ├── Dashboard.tsx
│ ├── LeadsPage.tsx
│ ├── LoginPage.tsx
│ ├── NotesPage.tsx
│ ├── OpportunitiesPage.tsx
│ └── TasksPage.tsx
├── types/
│ └── index.ts # Shared TypeScript interfaces
├── App.tsx # Router + layout
├── main.tsx
└── index.css # Tailwind v4 entry
# Install dependencies
npm install
# Start development server (http://localhost:5173)
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# Type checking
npm run typecheck
# Linting
npm run lint
npm run lint:fix
Create a .env file in the frontend root:
VITE_API_BASE_URL=https://back.tetrees.ai/api/sandbox-bridge/sandbox-67144be58b726336cccf230b0eb5ee93
The VITE_ prefix is required for Vite to expose variables to the browser. All API calls are prefixed with this base URL.
| Field | Value |
|---|---|
admin@example.com | |
| Password | password123 |
/api/v1{ "data": <payload> } or { "data": [...], "meta": { "page": 1, "limit": 20, "total": 100, "total_pages": 5 } }| Method | Path | Description |
|---|---|---|
| POST | /api/v1/auth/login | Login, returns JWT token |
| POST | /api/v1/auth/register | Register new user + org |
| GET | /api/v1/auth/me | Get current user profile |
| PUT | /api/v1/auth/me | Update profile |
| Resource | Base Path |
|---|---|
| Accounts | /api/v1/accounts |
| Contacts | /api/v1/contacts |
| Leads | /api/v1/leads |
| Opportunities | /api/v1/opportunities |
| Activities | /api/v1/activities |
| Tasks | /api/v1/tasks |
| Notes | /api/v1/notes |
| Dashboard | /api/v1/dashboard |
All resource endpoints support:
GET /resource — List with pagination & search (?page=1&limit=20&search=...)POST /resource — Create new recordGET /resource/:id — Retrieve by IDPUT /resource/:id — Update recordDELETE /resource/:id — Soft delete recordPOST /api/v1/auth/loginlocalStorage under key crm_tokenAuthorization: Bearer <token> headerGET /api/v1/auth/me validates the stored token/loginManages authentication state, JWT token storage, and user profile. Provides useAuth() hook for accessing auth state across the application.
lib/api.ts)Centralized API client with automatic retry logic, JWT header injection, and error handling.
Khởi chạy sandbox cách ly và chạy phía máy chủ — không cần cài đặt cục bộ.
Lần kiểm định sandbox đã hoàn tất và đường chạy được phát hiện đã đạt yêu cầu.
This Express backend / api completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately. Final verified scores after isolated runtime evidence: overall 9.4 and security 9.5.
Deterministic AVCP artifact review
Quy trình avcp-2026-08-04.1 · SHA-256 bd60dd3bc600211d…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
Đã đánh giá 7 thg 8, 2026
Hướng dẫn cài đặt đầy đủ và prompt tích hợp sẽ mở khóa sau khi mua.
Đưa sản phẩm này thẳng vào AI IDE, trình tạo web hoặc cloud IDE của bạn.
Kết nối Tetrees với AI IDE tương thích để liệt kê sản phẩm bạn sở hữu và nhận ZIP đã xác minh mà không cấp quyền tải lên của người bán.
11 đánh giá
Shipped with this same week. Picked up "Full Stack CRM Template" for a client workflow — TypeScript types are actually accurate, no fighting the compiler. Contract logic is tight and the on-chain calls are well abstracted. No regrets.
Really solid work. No spaghetti — the folder layout is sane, and examples matched the actual API, which is rare. Contract logic is tight and the on-chain calls are well abstracted. Would buy from this seller again.
Punches well above its price. Used "Full Stack CRM Template" to automate my workflow and it cut days off the build. Contract logic is tight and the on-chain calls are well abstracted. Highly recommend.
Dropped it into my stack and it just worked. Dropped this automation setup straight into the workflow; the walkthrough got me running in minutes. Gas-conscious and the wallet flow is clean.
Exactly what I needed. Picked up this automation setup for a client workflow — Components are cleanly separated and easy to extend. Contract logic is tight and the on-chain calls are well abstracted. Support answered my question fast.
Shipped with this same week. As someone who automates these all day, typeScript types are actually accurate, no fighting the compiler. Docking half a star only because I wanted a couple more examples.
Rock solid so far. Used this automation setup to automate my workflow and it cut days off the build. Support answered my question fast.
Shipped with this same week. Used "Full Stack CRM Template" to automate my workflow and it cut days off the build. The web3 wiring was the part I dreaded and it just worked. Highly recommend.
Better than I expected. Picked up this automation setup for a client workflow — Setup was a single command and it ran first try. Gas-conscious and the wallet flow is clean. Docking half a star only because I wanted a couple more examples.
Great starting point. Dropped this automation setup straight into the workflow; docs were clear enough that I never had to open an issue. Exactly as described.
Sign in to join the discussion
Loading discussion…