-
Notifications
You must be signed in to change notification settings - Fork 0
/
templates.ts
485 lines (426 loc) · 25.3 KB
/
templates.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
import type { Plugin } from "@docusaurus/types";
export default async function RefineTemplates(): Promise<Plugin> {
return {
name: "docusaurus-plugin-refine-templates",
contentLoaded: async (args) => {
const { content, actions } = args;
const { addRoute, createData } = actions;
await Promise.all(
(content as typeof templates).map(async (data) => {
const json = await createData(
`templates-${data.slug}.json`,
JSON.stringify(data, null, 2),
);
addRoute({
path: `/templates/${data.slug}`,
component:
"@site/src/components/templates-detail-page/index",
exact: true,
modules: {
content: json,
},
});
}),
);
},
loadContent: async () => {
return templates;
},
};
}
const templates = [
{
slug: "crm-application",
title: "CRM Application",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-refine-crm.jpg",
],
runOnYourLocalPath: "app-crm",
liveDemo: "https://example.crm.refine.dev/",
github: "https://github.com/refinedev/refine/tree/master/examples/app-crm",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Nestjs-query",
authProvider: "Custom",
description: `
This CRM app example, built with Refine, demonstrates a complete solution for enterprise-level CRM internal tool needs. It has a wide range of functionalities for real-use cases, which are extensively utilized by enterprise companies.
The app connected to GraphQL API through Refine's Nestjs-query data provider, and its user interface is developed using Ant Design, which Refine offers built-in UI framework support.
We built this template to demonstrate how the Refine framework simplifies and speeds up development. It is a valuable resource, offering insights into Refine's best practices and modern development techniques.
The source code of the CRM app is also open-source; feel free to use or inspect it to discover how Refine works. Being production-ready, you can either build your own CRM internal tool using it as a code base or directly implement it as is.
### Key Features:
- **Dashboard**: Overview of CRM activities, key metrics, and customer interactions.
- **Calendar**: Manage appointments and events.
- **Scrumboard-Project Kanban**: Streamline project management and task tracking.
- **Sales Pipeline**: Visualize sales stages and track lead conversions.
- **Companies**: Organize business contacts with detailed profiles.
- **Contacts**: Efficient management of individual customer interactions.
- **Quotes**: Create, send, and manage customer quotes.
- **Administration**: Customize CRM settings, user roles, and permissions.
This CRM app template can be used in for various app requirements like B2B applications, internal tools, admin panel, dashboard. Such as:
- Human Resource Management (HRM) Tools
- IT Service Management (ITSM) Tools
- Network Monitoring Tools
- Risk Management Tools
- Customer Support Tools
- Financial Planning Systems
- Customer Analytics Tools
- Inventory Management Systems,
- Sales and Marketing Tools,
- Supply Chain Management Tools
- Retail Management Systems
- Business Intelligence Tools
- Electronic Health Record (EHR) Systems
- Patient Management Systems
- Health Information Exchange (HIE) Systems
- Pharmacy Management Systems
`,
},
{
slug: "next-js-tailwind",
title: "E-Commerce Application Storefront",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-storefront.jpg",
],
runOnYourLocalPath: "finefoods-client",
liveDemo: "https://example.refine.dev/",
github: "https://github.com/refinedev/refine/tree/master/examples/finefoods-client",
reactPlatform: "Next.js",
uiFramework: "Headless",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
This is a template that can serve as an example for building React-based storefronts, admin panels, or internal tools using Refine. Implemented popular tools like Tailwind CSS and Next.js, which are highly demanded by the community.
### Key Features:
- With Refine's headless approach, we demonstrated how to apply a style of your choice, such as Tailwind CSS.
- SSR support with Next.js. Refine supports SSR with Next.js and Remix. You can use this template as a starter point for Next.js-powered Refine apps.
- REST API implementation
The source code is also open-source; feel free to use or inspect it to discover how to Refine works with any custom designs & UI library and supports SSR with Next.js.`,
},
{
slug: "react-admin-panel",
title: "B2B Admin Panel with Material UI",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-finefoods-material-ui.jpg",
],
runOnYourLocalPath: "finefoods-material-ui",
liveDemo: "https://example.mui.admin.refine.dev",
github: "https://github.com/refinedev/refine/tree/master/examples/finefoods-material-ui",
reactPlatform: "Vite",
uiFramework: "Material UI",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
This example of a React admin panel, built with Refine, provides a comprehensive solution for the needs of enterprise-level admin panels. It features a full range of functionalities typical in products used by enterprise companies.
The admin panel connects to a REST API using a Simple REST data provider. Its user interface is developed with Material UI, which Refine offers built-in UI framework support.
We built this template to showcase the efficiency and ease of using the Refine framework in development. It is a valuable resource, offering insights into Refine's best practices and modern development techniques. As it's ready for production, you can use this template as a foundation to build your own React admin panel or implement it as it is.
The template is open-source, so you can freely use or examine it to understand how Refine works.
### Key Features:
- **Dashboard**: Get an overview of food ordering activities, track product performance, and view insightful charts.
- **Orders**: Manage, track, and filter all customer orders.
- **Users**: Administer customer and courier accounts and data.
- **Stores**: View and manage the list of participating stores.
- **Categories**: Categorize and organize menu items and store types.
- **Couriers**: Monitor and manage courier activity and interactions.
- **Reviews**: Handle customer feedback, review ratings, and respond to comments.
This admin panel template can be used in for various app requirements like B2B applications, internal tools, admin panel, dashboard. Such as:
- Food Ordering Systems
- Restaurant management Systems
- Portfolio Management Software
- Data Integration Tools
- Healthcare Analytics Software
- Telemedicine Platforms
- Customer Support Tools
- Financial Planning Systems
- Customer Analytics Tools
- Inventory Management Systems
- Workforce Management Systems
- Electronic Health Record (EHR) Systems
- Patient Management Systems
`,
},
{
slug: "react-admin-panel-ant-design",
title: "B2B Internal tool with Ant Design",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-finefoods-ant-design.jpg",
],
runOnYourLocalPath: "finefoods-antd",
liveDemo: "https://example.admin.refine.dev",
github: "https://github.com/refinedev/refine/tree/master/examples/finefoods-antd",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
This example of a B2B React admin panel, built with Refine, provides a comprehensive solution for the needs of enterprise-level internal tools. It features a full range of functionalities typical in products used by enterprise companies.
The admin panel connects to a REST API using a Simple REST data provider. Its user interface is developed with Ant Design, which Refine offers built-in UI framework support.
We built this template to showcase the efficiency and ease of using the Refine framework in development. It is a valuable resource, offering insights into Refine's best practices and modern development techniques. As it's ready for production, you can use this template as a foundation to build your own React admin panel or implement it as it is.
The template is open-source, so you can freely use or examine it to understand how Refine works.
### Key Features:
- **Dashboard**: Get an overview of food ordering activities, track product performance, and view insightful charts.
- **Orders**: Manage, track, and filter all customer orders.
- **Users**: Administer customer and courier accounts and data.
- **Stores**: View and manage the list of participating stores.
- **Categories**: Categorize and organize menu items and store types.
- **Couriers**: Monitor and manage courier activity and interactions.
- **Reviews**: Handle customer feedback, review ratings, and respond to comments.
This admin panel template can be used in for various app requirements like B2B applications, internal tools, admin panel, dashboard. Such as:
- Food Ordering Systems
- Restaurant management Systems
- Portfolio Management Software
- Data Integration Tools
- Healthcare Analytics Software
- Telemedicine Platforms
- Customer Support Tools
- Financial Planning Systems
- Customer Analytics Tools
- Inventory Management Systems
- Workforce Management Systems
- Electronic Health Record (EHR) Systems
- Patient Management Systems
`,
},
{
slug: "next-js-ecommerce-store",
title: "Swag Store",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-store.jpg",
],
runOnYourLocalPath: "store",
liveDemo: "https://store.refine.dev/",
github: "https://github.com/refinedev/refine/tree/master/examples/store",
reactPlatform: "Next.js",
uiFramework: "Ant Design",
dataProvider: "Medusa",
authProvider: "Medusa",
description: `
This template is a comprehensive e-commerce storefront app created using Refine, Medusa.js, Next.js, and Stripe, encompassing all the necessary features for an e-commerce web application. Its source code is open-source, allowing you to freely use or explore it to gain a deeper understanding of how Refine integrates with Next.js and Tailwind CSS.
The app interfaces with the Medusa API through Refine's Medusa data provider, and its user interface is crafted with Tailwind CSS. This template is designed to showcase the effectiveness of the Refine framework in streamlining and accelerating the development process for storefront apps, providing an optimal approach to using Refine in storefront app development.
With its production-ready status, this template offers a solid foundation for building your own storefront, whether you choose to use it as a starting point or implement it directly as it is.
### Key Features:
- **Authentication & Authorization**: Securely manages user logins and permissions.
- **Product Listing**: Displays a catalog of products available for purchase.
- **Account Information Pages**: Allows users to view and edit their account details.
- **Product Detail**: Provides detailed information about each product, including descriptions, prices, and images.
- **Shopping Cart**: Enables customers to add products to a virtual cart and manage their selections before checkout.
- **Payment with Stripe**: Offers a secure payment system through Stripe for processing transactions.
- **Gift Code Feature**: Allows gift codes for discounts or special offers during the checkout process.
- **Email Send and Verification**: Handles the sending of emails for purposes like account verification and marketing, and verifies email addresses.
`,
},
{
slug: "supabase-crud-app",
title: "Pixels",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-pixels.jpg",
],
runOnYourLocalPath: "pixels",
liveDemo: "https://pixels.refine.dev/",
github: "https://github.com/refinedev/refine/tree/master/examples/pixels",
tutorial: "https://refine.dev/week-of-refine-supabase/",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Supabase",
authProvider: "Supabase",
description: `
This example presents the RefineWeek series - a seven-part quickfire guide to help developers learn the ins and outs of Refine and Supabase's powerful capabilities and get going with Refine within a week.
The source code for this CRUD app is open-source, providing an opportunity for you to use or examine it to gain a deeper understanding of how Refine operates. The CRM application featured in this series utilizes a Supabase API through Refine's Supabase data provider, and its user interface is crafted using Ant Design.
This CRM application consumes a Supabase API through Refine's Supabase data provider, and its user interface is developed using Ant Design, which Refine offers built-in UI framework support.
We built this template to demonstrate how the Refine framework simplifies and speeds up development. It is a valuable resource, offering insights into Refine's best practices and modern development techniques.
### Key Features:
- **Realtime Collaboration Features**: Implements real-time updates using Supabase's Realtime for collaborative canvas drawing.
- **Role-Based Authorization**: Incorporates user role-based authorization with different permissions for editors and admins.
- **Audit Logging**: Implements an audit log for tracking pixel drawing activities in both the client and admin apps.
`,
},
{
slug: "react-pdf-invoice-generator",
title: "Invoice Generator - Internal Tool",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-invoice-generator.jpg",
],
runOnYourLocalPath: "refine-week-invoice-generator",
liveDemo: "https://invoice-generator.refine.dev/",
github: "https://github.com/refinedev/refine/tree/master/examples/refine-week-invoice-generator",
tutorial: "https://refine.dev/week-of-refine-strapi/",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Strapi",
authProvider: "Strapi",
description: `
The Invoicer is a template for an internal tool created as part of the #RefineWeek series, integrating Refine, Strapi, and Ant Design technologies. It's designed for users to manage company registrations, client and contact additions, task creations, and invoice issuance. A standout feature of this app is its ability to generate PDF invoices, enabling the creation of professional documents.
With its PDF generation feature, this open-source internal tool template is ideal for understanding Refine's capabilities. The app uses Strapi for data management, connecting through a Strapi data provider. Its interface is crafted using Ant Design, supported natively by Refine for a seamless UI experience.
We built this template to showcase the efficiency and ease of using the Refine framework in development along with third-party API management tools. It is a valuable resource, offering insights into Refine's best practices and modern development techniques. Being production-ready, this template can serve as a solid base for developing your own React-based internal tools, or it can be used as-is for immediate implementation.
### Key Features
- **Comprehensive CRUD Operations**: The app supports CRUD functionalities for companies, clients, contacts, missions, and invoices.
- **Authentication and Authorization**: Implements secure user authentication and role-based permissions using Refine's authProvider.
- **PDF Invoice Generation**: Includes the capability to generate and view PDF documents of invoices using the @react-pdf/renderer package.
`,
},
{
slug: "win-95-style-admin-panel",
title: "Win95 Style Admin Panel",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-win95.jpg",
],
runOnYourLocalPath: "blog-win95",
liveDemo: "https://win95.refine.dev/",
github: "https://github.com/refinedev/refine/tree/master/examples/blog-win95",
tutorial:
"https://refine.dev/blog/awesome-react-windows95-ui-with-refine/",
reactPlatform: "Vite",
uiFramework: "Headless",
dataProvider: "Supabase",
authProvider: "Supabase",
description: `
This Fun CRUD app example demonstrates how you can customize the Refine app design for specific needs. It is connected to a Supabase backend through Refine’s Supabase data provider and its user interface is developed using [React95](https://github.com/React95/React95).
The source code of the CRUD app is also open-source; feel free to use or inspect it to discover how Refine works along with external UI packages.
`,
},
{
slug: "react-crud-app",
title: "Realworld Example",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-realworld.jpg",
],
runOnYourLocalPath: "real-world-example",
liveDemo: "https://refine-real-world.netlify.app/",
github: "https://github.com/refinedev/real-world-example",
reactPlatform: "Vite",
uiFramework: "Headless",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
This RealWorld app template displays a comprehensive full-stack application created using Refine, including features like CRUD operations, user authentication, routing, and pagination, among others.
The RealWorld example standard, often called the "Mother of All Demo Apps," is a specification for building full-stack applications that demonstrate real-world usage of various frontend and backend technologies. This standard provides consistent requirements for creating functionally equivalent applications across different technology stacks.
This RealWorld example aims to demonstrate the practical use of Refine in building standards and real-world applications, providing a more authentic and useful example than the usual "to-do list" demonstrations.
Since the source code of this RealWorld app is open-source, you have the freedom to use or explore it to gain insights into the workings of Refine and its integration with Next.js and Tailwind CSS.
### Key Features
- Authenticate users via JWT (login/register pages + logout button on settings page)
- CRUD users (sign up & settings page - no deleting required)
- CRUD Articles
- CRUD Comments on articles (no updating required)
- GET and display paginated lists of articles
- Favorite articles
- Follow other users
`,
},
{
slug: "multitenancy-strapi",
title: "Multitenancy App with Strapi",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-multitenancy-strapi.jpg",
],
runOnYourLocalPath: "multi-tenancy-strapi",
liveDemo: "https://multi-tenancy-strapi.refine.dev",
github: "https://github.com/refinedev/refine/tree/master/examples/multi-tenancy-strapi",
tutorial:
"https://refine.dev/docs/guides-concepts/multi-tenancy/#strapi",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Strapi",
authProvider: "Strapi",
description: `
Multitenancy is a design approach where a single software instance on a server provides services to multiple clients at the same time. This CRUD app template is an excellent example of implementing multitenant architecture in Refine applications. It connects to a Strapi API using a Strapi data provider and features a user interface developed with Ant Design, which is natively supported by Refine.
This template was developed to demonstrate how the Refine framework can simplify and expedite the development of apps with enterprise-level needs. It's a valuable resource that offers insights into Refine's best practices and modern development techniques.
The source code of this multitenancy app is open-source, allowing you to use or inspect it to see how Refine can fulfill enterprise-grade application requirements.
`,
},
{
slug: "multitenancy-appwrite",
title: "Multitenancy App with Appwrite",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-multitenancy-appwrite.jpg",
],
runOnYourLocalPath: "multi-tenancy-appwrite",
liveDemo: "https://multi-tenancy-appwrite.refine.dev",
github: "https://github.com/refinedev/refine/tree/master/examples/multi-tenancy-appwrite",
tutorial:
"https://refine.dev/docs/guides-concepts/multi-tenancy/#appwrite",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Appwrite",
authProvider: "Appwrite",
description: `
Multitenancy is a design approach where a single software instance on a server provides services to multiple clients at the same time. This CRUD app template is an excellent example of implementing multitenant architecture in Refine applications. It connects to a Appwrite API using a Appwrite data provider and features a user interface developed with Ant Design, which is natively supported by Refine.
This template was developed to demonstrate how the Refine framework can simplify and expedite the development of apps with enterprise-level needs. It's a valuable resource that offers insights into Refine's best practices and modern development techniques.
The source code of this multitenancy app is open-source, allowing you to use or inspect it to see how Refine can fulfill enterprise-grade application requirements.
`,
},
{
slug: "ant-design-template",
title: "Internal tool template with Ant Design ",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-ant-design-template.jpg",
],
runOnYourLocalPath: "auth-antd",
liveDemo:
"https://codesandbox.io/p/sandbox/github/refinedev/refine/tree/master/examples/auth-antd",
github: "https://github.com/refinedev/refine/tree/master/examples/auth-antd",
tutorial: "https://refine.dev/docs/tutorial/introduction/index/",
reactPlatform: "Vite",
uiFramework: "Ant Design",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
Complete internal tool template built with Material UI. Features authentication and CRUD screens.
`,
},
{
slug: "material-ui-template",
title: "Generic Internal Tool Template with Material UI",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-material-ui-template.jpg",
],
runOnYourLocalPath: "auth-material-ui",
liveDemo:
"https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/auth-material-ui",
github: "https://github.com/refinedev/refine/tree/master/examples/auth-material-ui",
tutorial: "https://refine.dev/docs/tutorial/introduction/index/",
reactPlatform: "Vite",
uiFramework: "Material UI",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
Complete internal tool template built with Material UI. Features authentication and CRUD screens.
`,
},
{
slug: "mantine-template",
title: "Generic Internal Tool Template with Mantine",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-mantine-template.jpg",
],
runOnYourLocalPath: "auth-mantine",
liveDemo:
"https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/auth-mantine",
github: "https://github.com/refinedev/refine/tree/master/examples/auth-mantine",
tutorial: "https://refine.dev/docs/tutorial/introduction/index/",
reactPlatform: "Vite",
uiFramework: "Mantine",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
Complete internal tool template built with Mantine. Features authentication and CRUD screens.
`,
},
{
slug: "chakra-ui-template",
title: "Generic Internal Tool Template with Chakra UI",
images: [
"https://refine.ams3.cdn.digitaloceanspaces.com/templates/detail-chakra-ui-template.jpg",
],
runOnYourLocalPath: "auth-chakra-ui",
liveDemo:
"https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/auth-chakra-ui",
github: "https://github.com/refinedev/refine/tree/master/examples/auth-chakra-ui",
tutorial: "https://refine.dev/docs/tutorial/introduction/index/",
reactPlatform: "Vite",
uiFramework: "Chakra UI",
dataProvider: "Rest API",
authProvider: "Custom",
description: `
Complete admin panel template built with Chakra UI. Features authentication and CRUD screens.
`,
},
];