realtimex-crm 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,23 +1,24 @@
1
- # Atomic CRM
1
+ # RealTimeX CRM
2
2
 
3
- A full-featured CRM built with React, shadcn-admin-kit, and Supabase.
3
+ A full-featured CRM built with React, shadcn-admin-kit, and Supabase. Fork of [Atomic CRM](https://github.com/marmelab/atomic-crm) with enhanced "Bring Your Own Database" configuration.
4
4
 
5
5
  https://github.com/user-attachments/assets/0d7554b5-49ef-41c6-bcc9-a76214fc5c99
6
6
 
7
- Atomic CRM is free and open-source. You can test it online at https://marmelab.com/atomic-crm-demo.
7
+ RealTimeX CRM is free and open-source.
8
8
 
9
9
  ## Features
10
10
 
11
11
  - 📇 **Organize Contacts**: Keep all your contacts in one easily accessible place.
12
12
  - ⏰ **Create Tasks & Set Reminders**: Never miss a follow-up or deadline.
13
13
  - 📝 **Take Notes**: Capture important details and insights effortlessly.
14
- - ✉️ **Capture Emails**: CC Atomic CRM to automatically save communications as notes.
14
+ - ✉️ **Capture Emails**: CC RealTimeX CRM to automatically save communications as notes.
15
15
  - 📊 **Manage Deals**: Visualize and track your sales pipeline in a Kanban board.
16
16
  - 🔄 **Import & Export Data**: Easily transfer contacts in and out of the system.
17
17
  - 🔐 **Control Access**: Log in with Google, Azure, Keycloak, and Auth0.
18
18
  - 📜 **Track Activity History**: View all interactions in aggregated activity logs.
19
19
  - 🔗 **Integrate via API**: Connect seamlessly with other systems using our API.
20
20
  - 🛠️ **Customize Everything**: Add custom fields, change the theme, and replace any component to fit your needs.
21
+ - 🗄️ **Bring Your Own Database**: Configure Supabase connection via UI or environment variables.
21
22
 
22
23
  ## Installation
23
24
 
@@ -27,16 +28,16 @@ To run this project locally, you will need the following tools installed on your
27
28
  - Node 22 LTS
28
29
  - Docker (required by Supabase)
29
30
 
30
- Fork the [`marmelab/atomic-crm`](https://github.com/marmelab/atomic-crm) repository to your user/organization, then clone it locally:
31
+ Clone the repository:
31
32
 
32
33
  ```sh
33
- git clone https://github.com/[username]/atomic-crm.git
34
+ git clone https://github.com/therealtimex/realtimex-crm.git
35
+ cd realtimex-crm
34
36
  ```
35
37
 
36
38
  Install dependencies:
37
39
 
38
40
  ```sh
39
- cd atomic-crm
40
41
  make install
41
42
  ```
42
43
 
@@ -50,9 +51,14 @@ make start
50
51
 
51
52
  This will start the Vite dev server for the frontend, the local Supabase instance for the API, and a Postgres database (thanks to Docker).
52
53
 
53
- You can then access the app via [http://localhost:5173/](http://localhost:5173/). You will be prompted to create the first user.
54
+ You can then access the app via [http://localhost:5173/](http://localhost:5173/). On first launch, you'll see a setup wizard to configure your Supabase connection, or you can set environment variables in `.env`:
54
55
 
55
- If you need debug the backend, you can access the following services:
56
+ ```env
57
+ VITE_SUPABASE_URL=https://xxxxx.supabase.co
58
+ VITE_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
59
+ ```
60
+
61
+ If you need to debug the backend, you can access the following services:
56
62
 
57
63
  - Supabase dashboard: [http://localhost:54323/](http://localhost:54323/)
58
64
  - REST API: [http://127.0.0.1:54321](http://127.0.0.1:54321)
@@ -71,9 +77,9 @@ If you need debug the backend, you can access the following services:
71
77
  2. [Configuring Inbound Email](./doc/src/content/docs/developers/inbound-email-configuration.mdx) *(optional)*
72
78
  3. [Deployment](./doc/src/content/docs/developers/deploy.mdx)
73
79
 
74
- ## Customizing Atomic CRM
80
+ ## Customizing RealTimeX CRM
75
81
 
76
- To customize Atomic CRM, you will need TypeScript and React programming skills as there is no graphical user interface for customization. Here are some resources to assist you in getting started.
82
+ To customize RealTimeX CRM, you will need TypeScript and React programming skills as there is no graphical user interface for customization. Here are some resources to assist you in getting started.
77
83
 
78
84
  1. [Customizing the CRM](./doc/src/content/docs/developers/customizing.mdx)
79
85
  2. [Creating Migrations](./doc/src/content/docs/developers/migrations.mdx) *(optional)*
@@ -88,17 +94,48 @@ This project contains unit tests. Run them with the following command:
88
94
  make test
89
95
  ```
90
96
 
91
- You can add your own unit tests powered by Jest anywhere in the `src` directory. The test files should be named `*.test.tsx` or `*.test.ts`.
97
+ You can add your own unit tests powered by Vitest anywhere in the `src` directory. The test files should be named `*.test.tsx` or `*.test.ts`.
98
+
99
+ ## Development Commands
100
+
101
+ ```sh
102
+ make install # Install dependencies (frontend, backend, local Supabase)
103
+ make start # Start full stack with real API (Supabase + Vite dev server)
104
+ make stop # Stop the stack
105
+ make start-demo # Start full-stack with FakeRest data provider
106
+ make test # Run unit tests (vitest)
107
+ make typecheck # Run TypeScript type checking
108
+ make lint # Run ESLint and Prettier checks
109
+ make build # Build production bundle
110
+ ```
92
111
 
93
112
  ## Registry
94
113
 
95
- Atomic CRM components are published as a Shadcn Registry file:
114
+ RealTimeX CRM components are published as a Shadcn Registry file:
96
115
  - The `registry.json` file is automatically generated by the `scripts/generate-registry.mjs` script as a pre-commit hook.
97
- - The `http://marmelab.com/atomic-crm/r/atomic-crm.json` file is automatically published by the CI/CD pipeline
116
+ - The registry is automatically published by the CI/CD pipeline
98
117
 
99
- > [!WARNING]
118
+ > [!WARNING]
100
119
  > If the `registry.json` misses some changes you made, you MUST update the `scripts/generate-registry.mjs` to include those changes.
101
120
 
121
+ ## NPM Package
122
+
123
+ RealTimeX CRM is available as an npm package:
124
+
125
+ ```bash
126
+ npm install realtimex-crm
127
+ ```
128
+
129
+ The package includes all source code, components, and Supabase migrations for easy integration.
130
+
102
131
  ## License
103
132
 
104
- This project is licensed under the MIT License, courtesy of [Marmelab](https://marmelab.com). See the [LICENSE.md](./LICENSE.md) file for details.
133
+ This project is licensed under the MIT License. Original project courtesy of [RealTimeX](https://realtimex.ai). See the [LICENSE.md](./LICENSE.md) file for details.
134
+
135
+ ## Credits
136
+
137
+ This project is a fork of [Atomic CRM](https://github.com/marmelab/atomic-crm) by Marmelab, enhanced with:
138
+ - "Bring Your Own Database" UI configuration
139
+ - Simplified deployment workflows
140
+ - NPM package distribution
141
+ - RealTimeX App SDK integration support (planned)
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="minimum-scale=1,initial-scale=1,width=device-width,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="icon shortcut" href="./favicon.ico"><title>Atomic CRM</title><style>body{margin:0;padding:0;font-family:sans-serif}.loader-container{background-color:#fafafa;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.loader,.loader:before,.loader:after{border-radius:50%}.loader{color:#283593;text-indent:-99999em;width:10em;height:10em;margin:55px auto;font-size:11px;position:relative;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);box-shadow:inset 0 0 0 1em}.loader:before,.loader:after{content:"";position:absolute}.loader:before{-webkit-transform-origin:5.2em 5.1em;transform-origin:5.2em 5.1em;background:#fafafa;border-radius:10.2em 0 0 10.2em;width:5.2em;height:10.2em;-webkit-animation:2s 1.5s infinite load2;animation:2s 1.5s infinite load2;top:-.1em;left:-.1em}.loader:after{-webkit-transform-origin:0 5.1em;transform-origin:0 5.1em;background:#fafafa;border-radius:0 10.2em 10.2em 0;width:5.2em;height:10.2em;-webkit-animation:2s infinite load2;animation:2s infinite load2;top:-.1em;left:5.1em}@-webkit-keyframes load2{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load2{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style><script type="module" crossorigin src="./assets/index-CDIy4x-0.js"></script><link rel="stylesheet" crossorigin href="./assets/index-BiQoGq1P.css"></head><body><div id="root"><div class="loader-container"><div class="loader">Loading...</div></div></div><noscript>You need to enable JavaScript to run this app.</noscript></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="minimum-scale=1,initial-scale=1,width=device-width,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="icon shortcut" href="./favicon.ico"><title>CRM</title><style>body{margin:0;padding:0;font-family:sans-serif}.loader-container{background-color:#fafafa;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.loader,.loader:before,.loader:after{border-radius:50%}.loader{color:#283593;text-indent:-99999em;width:10em;height:10em;margin:55px auto;font-size:11px;position:relative;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);box-shadow:inset 0 0 0 1em}.loader:before,.loader:after{content:"";position:absolute}.loader:before{-webkit-transform-origin:5.2em 5.1em;transform-origin:5.2em 5.1em;background:#fafafa;border-radius:10.2em 0 0 10.2em;width:5.2em;height:10.2em;-webkit-animation:2s 1.5s infinite load2;animation:2s 1.5s infinite load2;top:-.1em;left:-.1em}.loader:after{-webkit-transform-origin:0 5.1em;transform-origin:0 5.1em;background:#fafafa;border-radius:0 10.2em 10.2em 0;width:5.2em;height:10.2em;-webkit-animation:2s infinite load2;animation:2s infinite load2;top:-.1em;left:5.1em}@-webkit-keyframes load2{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load2{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style><script type="module" crossorigin src="./assets/index-CDIy4x-0.js"></script><link rel="stylesheet" crossorigin href="./assets/index-BiQoGq1P.css"></head><body><div id="root"><div class="loader-container"><div class="loader">Loading...</div></div></div><noscript>You need to enable JavaScript to run this app.</noscript></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realtimex-crm",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "RealTimeX CRM - A full-featured CRM built with React, shadcn-admin-kit, and Supabase. Fork of Atomic CRM with RealTimeX App SDK integration.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",