A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix more links
François Zaninotto91f5c506e154
diff --git a/doc/src/content/docs/developers/architecture-choices.mdx b/doc/src/content/docs/developers/architecture-choices.mdxindex e0274485..c9970d16 100644--- a/doc/src/content/docs/developers/architecture-choices.mdx+++ b/doc/src/content/docs/developers/architecture-choices.mdx@@ -39,7 +39,7 @@ Some pages in Atomic CRM require data from multiple tables. To simplify the fronFor instance, the contact list page displays the number of tasks for each contact. This information is provided by the `contacts_summary` view, defined in the `supabase/migrations/init_db.sql` file.-When using [the FakeRest data provider](./data-providers#setting-up-the-fakerest-data-provider), these views are emulated in the frontend.+When using [the FakeRest data provider](../data-providers#setting-up-the-fakerest-data-provider), these views are emulated in the frontend.## Triggersdiff --git a/doc/src/content/docs/developers/data-providers.mdx b/doc/src/content/docs/developers/data-providers.mdxindex d47efd6e..76446743 100644--- a/doc/src/content/docs/developers/data-providers.mdx+++ b/doc/src/content/docs/developers/data-providers.mdx@@ -27,10 +27,12 @@ Type the following command to start the application with the FakeRest data provinpm run dev:demo```-This will start the application on [http://localhost:5173/](http://localhost:5173/) using FakeRest as the data provider. You will be logged in as a demo user with admin rights.+This will start the application on [http://localhost:5173/](http://localhost:5173/) using FakeRest as the data provider. You will be logged in as a demo user with admin rights. The CRM will be pre-filled with random test data. You can modify the data, but it will be reset when you reload the page.++If you add custom fields and want them to be included in the FakeRest data, you can modify the data generator logic located in the [`src/components/atomic-crm/providers/fakerest/dataGenerator`](https://github.com/marmelab/atomic-crm/blob/main/src/components/atomic-crm/providers/fakerest/dataGenerator/) directory.:::tip-FakeRest is used in the [Atomic CRM demo](https://marmelab.com/atomic-crm-demo/), where you can test it live.+The [Atomic CRM demo](https://marmelab.com/atomic-crm-demo/) also uses FakeRest. Check it out to see how it works!:::### Setting Up The FakeRest Data Providerdiff --git a/doc/src/content/docs/developers/migrations.mdx b/doc/src/content/docs/developers/migrations.mdxindex a1ac20d2..06dda2ae 100644--- a/doc/src/content/docs/developers/migrations.mdx+++ b/doc/src/content/docs/developers/migrations.mdx@@ -47,4 +47,4 @@ npx supabase migration upFrom the frontend UI, users can import contacts and companies via a csv file.-If you change the data structure for a contact, don't forget to modify the sample CSV file located at `src/contacts/contacts_export.csv`. You'll also need to modify the import function found in `src/contacts/useContactImport.tsx`.+If you change the data structure for a contact, don't forget to modify the sample CSV file located at [`src/components/atomic-crm/contacts/contacts_export.csv`](https://github.com/marmelab/atomic-crm/blob/main/src/components/atomic-crm/contacts/contacts_export.csv). You'll also need to modify the import function found in [`src/components/atomic-crm/contacts/useContactImport.tsx`](https://github.com/marmelab/atomic-crm/blob/main/src/components/atomic-crm/contacts/useContactImport.tsx).