axiodb 2.10.26 → 2.10.27

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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/Document/eslint.config.js +0 -28
  3. package/Document/index.html +0 -31
  4. package/Document/package-lock.json +0 -4254
  5. package/Document/package.json +0 -35
  6. package/Document/postcss.config.js +0 -6
  7. package/Document/public/AXioDB.png +0 -0
  8. package/Document/src/App.tsx +0 -39
  9. package/Document/src/Assets/AXioDB.png +0 -0
  10. package/Document/src/components/content/AdvancedFeatures.tsx +0 -318
  11. package/Document/src/components/content/ApiReference.tsx +0 -319
  12. package/Document/src/components/content/Community.tsx +0 -203
  13. package/Document/src/components/content/Comparison.tsx +0 -227
  14. package/Document/src/components/content/CreateCollection.tsx +0 -59
  15. package/Document/src/components/content/CreateDatabase.tsx +0 -57
  16. package/Document/src/components/content/Features.tsx +0 -263
  17. package/Document/src/components/content/Installation.tsx +0 -67
  18. package/Document/src/components/content/Introduction.tsx +0 -107
  19. package/Document/src/components/content/MaintainersZone.tsx +0 -142
  20. package/Document/src/components/content/PainPoints.tsx +0 -126
  21. package/Document/src/components/content/Security.tsx +0 -137
  22. package/Document/src/components/content/Usage.tsx +0 -247
  23. package/Document/src/components/layout/Header.tsx +0 -154
  24. package/Document/src/components/layout/Layout.tsx +0 -91
  25. package/Document/src/components/layout/Sidebar.tsx +0 -185
  26. package/Document/src/components/ui/Button.tsx +0 -45
  27. package/Document/src/components/ui/CodeBlock.tsx +0 -41
  28. package/Document/src/context/ThemeContext.tsx +0 -71
  29. package/Document/src/hooks/useTheme.tsx +0 -12
  30. package/Document/src/index.css +0 -3
  31. package/Document/src/main.tsx +0 -10
  32. package/Document/src/styles/global.css +0 -18
  33. package/Document/src/vite-env.d.ts +0 -1
  34. package/Document/tailwind.config.js +0 -9
  35. package/Document/tsconfig.app.json +0 -24
  36. package/Document/tsconfig.node.json +0 -22
  37. package/Document/vite.config.ts +0 -40
@@ -1,227 +0,0 @@
1
- import React from "react";
2
- import { Zap, Server, GitCompare } from "lucide-react";
3
-
4
- const Comparison: React.FC = () => {
5
- return (
6
- <section id="comparison" className="pt-12 scroll-mt-20">
7
- <h2 className="text-3xl font-bold mb-6 flex items-center gap-2">
8
- <GitCompare className="h-8 w-8 text-purple-500" />
9
- Performance Comparison
10
- </h2>
11
-
12
- <p className="text-gray-700 dark:text-gray-300 mb-8">
13
- AxioDB stands out from other NPM-based database management systems
14
- through its innovative architecture and performance optimizations.
15
- </p>
16
-
17
- <div className="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
18
- <div className="bg-white dark:bg-gray-800 rounded-lg p-6 shadow-md border border-gray-100 dark:border-gray-700">
19
- <h3 className="text-xl font-semibold mb-4 text-red-500">
20
- Other NPM DBMSs
21
- </h3>
22
- <ul className="space-y-3 list-disc pl-6 text-gray-700 dark:text-gray-300">
23
- <li>
24
- Single JSON file storage leading to heavy Read/Write I/O
25
- operations
26
- </li>
27
- <li>No built-in caching mechanism</li>
28
- <li>Linear search for document retrieval</li>
29
- <li>Performance degrades with larger datasets</li>
30
- <li>No document ID indexing system</li>
31
- </ul>
32
- </div>
33
-
34
- <div className="bg-white dark:bg-gray-800 rounded-lg p-6 shadow-md border border-gray-100 dark:border-gray-700">
35
- <h3 className="text-xl font-semibold mb-4 text-green-500">
36
- AxioDB Advantages
37
- </h3>
38
- <ul className="space-y-3 list-disc pl-6 text-gray-700 dark:text-gray-300">
39
- <li>Tree-structured storage for optimized data management</li>
40
- <li>InMemoryCache strategy for faster queries</li>
41
- <li>Auto-indexed documentId for lightning-fast searches</li>
42
- <li>Maintains performance with large datasets</li>
43
- <li>Efficient data distribution and retrieval</li>
44
- </ul>
45
- </div>
46
- </div>
47
-
48
- <div className="overflow-x-auto mb-8">
49
- <table className="table-auto w-full border-collapse border border-gray-200 dark:border-gray-700">
50
- <thead>
51
- <tr className="bg-gradient-to-r from-purple-500 to-blue-500 text-white">
52
- <th className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-left">
53
- Feature
54
- </th>
55
- <th className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-left">
56
- AxioDB
57
- </th>
58
- <th className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-left">
59
- MongoDB
60
- </th>
61
- <th className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-left">
62
- Redis
63
- </th>
64
- </tr>
65
- </thead>
66
- <tbody>
67
- <tr className="bg-gray-50 dark:bg-gray-900">
68
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2">
69
- Ease of Setup
70
- </td>
71
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
72
- Very Easy
73
- </td>
74
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-yellow-500 font-semibold">
75
- Moderate
76
- </td>
77
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-blue-500 font-semibold">
78
- Easy
79
- </td>
80
- </tr>
81
- <tr>
82
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2">
83
- Performance (Small Datasets)
84
- </td>
85
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
86
- High
87
- </td>
88
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-yellow-500 font-semibold">
89
- Moderate
90
- </td>
91
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
92
- High
93
- </td>
94
- </tr>
95
- <tr className="bg-gray-50 dark:bg-gray-900">
96
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2">
97
- Memory Usage
98
- </td>
99
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
100
- Optimized
101
- </td>
102
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-yellow-500 font-semibold">
103
- Moderate
104
- </td>
105
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-red-500 font-semibold">
106
- High
107
- </td>
108
- </tr>
109
- <tr>
110
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2">
111
- Query Speed
112
- </td>
113
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
114
- Fast
115
- </td>
116
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-yellow-500 font-semibold">
117
- Moderate
118
- </td>
119
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
120
- Fast
121
- </td>
122
- </tr>
123
- <tr className="bg-gray-50 dark:bg-gray-900">
124
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2">
125
- Best Use Case
126
- </td>
127
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-green-500 font-semibold">
128
- Small Projects
129
- </td>
130
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-yellow-500 font-semibold">
131
- Scalable Applications
132
- </td>
133
- <td className="border border-gray-200 dark:border-gray-700 px-4 py-2 text-blue-500 font-semibold">
134
- Caching
135
- </td>
136
- </tr>
137
- </tbody>
138
- </table>
139
- </div>
140
-
141
- <div className="bg-gradient-to-r from-blue-50 to-purple-50 dark:from-blue-900/20 dark:to-purple-900/20 rounded-lg p-8 mb-12">
142
- <div className="flex items-start gap-6 flex-col md:flex-row">
143
- <div className="flex-1">
144
- <h3 className="text-2xl font-bold mb-4 flex items-center gap-2">
145
- <Server className="h-6 w-6 text-blue-500" />
146
- Coming Soon: AxioDB Docker
147
- </h3>
148
-
149
- <p className="text-gray-700 dark:text-gray-300 mb-4">
150
- We're extending AxioDB's power beyond JavaScript with our upcoming
151
- Docker image, featuring:
152
- </p>
153
-
154
- <ul className="space-y-2 mb-6 list-disc pl-6 text-gray-700 dark:text-gray-300">
155
- <li>
156
- Multiple connection protocols:
157
- <ul className="pl-4 mt-2 space-y-1">
158
- <li>TCP Port</li>
159
- <li>HTTP Port</li>
160
- <li>gRPC Port</li>
161
- <li>WebSocket Port</li>
162
- </ul>
163
- </li>
164
- <li>Multi-user system with authentication</li>
165
- <li>Web-based GUI Management Dashboard</li>
166
- <li>Cross-language compatibility</li>
167
- </ul>
168
- </div>
169
-
170
- <div className="flex flex-col gap-4 min-w-[300px]">
171
- <a
172
- href="https://hub.docker.com/r/theankansaha/axiodb"
173
- target="_blank"
174
- rel="noopener noreferrer"
175
- className="flex items-center gap-3 p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm hover:shadow-md transition-shadow"
176
- >
177
- <img
178
- src="https://images.icon-icons.com/2530/PNG/512/dockerhub_button_icon_151899.png"
179
- alt="Docker Hub"
180
- className="h-8 w-8 object-contain dark:invert"
181
- />
182
- <div>
183
- <h4 className="font-semibold">Docker Hub</h4>
184
- <p className="text-sm text-gray-600 dark:text-gray-400">
185
- Official Docker Image
186
- </p>
187
- </div>
188
- </a>
189
-
190
- <a
191
- href="https://github.com/AnkanSaha/AxioDB-Docker/pkgs/container/axiodb"
192
- target="_blank"
193
- rel="noopener noreferrer"
194
- className="flex items-center gap-3 p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm hover:shadow-md transition-shadow"
195
- >
196
- <img
197
- src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
198
- alt="GitHub Packages"
199
- className="h-8 w-8 object-contain dark:invert"
200
- />
201
- <div>
202
- <h4 className="font-semibold">GitHub Packages</h4>
203
- <p className="text-sm text-gray-600 dark:text-gray-400">
204
- Container Registry
205
- </p>
206
- </div>
207
- </a>
208
- </div>
209
- </div>
210
- </div>
211
-
212
- <div className="bg-blue-50 dark:bg-blue-900/20 border-l-4 border-blue-500 p-4 rounded-r-lg">
213
- <h4 className="font-semibold mb-2 flex items-center gap-2">
214
- <Zap className="h-5 w-5 text-blue-500" />
215
- Performance Metrics
216
- </h4>
217
- <p className="text-gray-700 dark:text-gray-300">
218
- In benchmark tests with 1 million documents, AxioDB's documentId
219
- search performed up to 10x faster than traditional JSON-based DBMSs,
220
- thanks to its tree structure and auto-indexing system.
221
- </p>
222
- </div>
223
- </section>
224
- );
225
- };
226
-
227
- export default Comparison;
@@ -1,59 +0,0 @@
1
- import React from "react";
2
- import CodeBlock from "../ui/CodeBlock";
3
-
4
- const CreateCollection: React.FC = () => {
5
- const codeExamples = {
6
- unencrypted: `
7
- const { AxioDB, SchemaTypes } = require("axiodb");
8
-
9
- // Define a schema
10
- const schema = {
11
- name: SchemaTypes.string().required(),
12
- age: SchemaTypes.number().required().min(1).max(100),
13
- email: SchemaTypes.string().required().email(),
14
- };
15
-
16
- // Create an unencrypted collection
17
- const collection = await db1.createCollection("testCollection", schema);
18
- console.log("Unencrypted collection created:", collection);
19
- `,
20
- encryptedDefaultKey: `
21
- // Create an encrypted collection with the default key
22
- const collection2 = await db1.createCollection("testCollection2", schema, true);
23
- console.log("Encrypted collection (default key) created:", collection2);
24
- `,
25
- encryptedCustomKey: `
26
- // Create an encrypted collection with a custom key
27
- const collection3 = await db1.createCollection("testCollection3", schema, "myKey");
28
- console.log("Encrypted collection (custom key) created:", collection3);
29
- `,
30
- };
31
-
32
- return (
33
- <section className="pt-12 scroll-mt-20">
34
- <h2 className="text-3xl font-bold mb-6">Create Collection</h2>
35
- <p className="text-gray-700 dark:text-gray-300 mb-4">
36
- Below are examples of how to create collections using AxioDB with
37
- different configurations.
38
- </p>
39
-
40
- <h3 className="text-2xl font-semibold mb-4">Unencrypted Collection</h3>
41
- <CodeBlock code={codeExamples.unencrypted} language="javascript" />
42
-
43
- <h3 className="text-2xl font-semibold mt-8 mb-4">
44
- Encrypted Collection (Default Key)
45
- </h3>
46
- <CodeBlock
47
- code={codeExamples.encryptedDefaultKey}
48
- language="javascript"
49
- />
50
-
51
- <h3 className="text-2xl font-semibold mt-8 mb-4">
52
- Encrypted Collection (Custom Key)
53
- </h3>
54
- <CodeBlock code={codeExamples.encryptedCustomKey} language="javascript" />
55
- </section>
56
- );
57
- };
58
-
59
- export default CreateCollection;
@@ -1,57 +0,0 @@
1
- import React from "react";
2
- import CodeBlock from "../ui/CodeBlock";
3
-
4
- const CreateDatabase: React.FC = () => {
5
- const codeExamples = {
6
- defaultInstance: `
7
- const { AxioDB } = require("axiodb");
8
-
9
- // Create a new instance of AxioDB (default root folder)
10
- const db = new AxioDB();
11
- console.log("Default AxioDB instance created.");
12
- `,
13
- customName: `
14
- // Create a new AxioDB instance with a custom root folder name
15
- const dbs = new AxioDB("AnkanDB");
16
- console.log("Custom AxioDB instance created with name 'AnkanDB'.");
17
- `,
18
- customRootPath: `
19
- // Create a new AxioDB instance with a custom root folder and relative path
20
- const dbms = new AxioDB("AnkanDB", "../");
21
- console.log("Custom AxioDB instance created with name 'AnkanDB' and custom root path.");
22
- `,
23
- createDatabase: `
24
- // Create a new database under the current AxioDB instance
25
- const db1 = await db.createDB("testDB");
26
- console.log("Database 'testDB' created.");
27
-
28
- // Create a new database without schema validation
29
- const db2 = await db.createDB("testDB2", false);
30
- console.log("Database 'testDB2' created without schema validation.");
31
- `,
32
- };
33
-
34
- return (
35
- <section className="pt-12 scroll-mt-20">
36
- <h2 className="text-3xl font-bold mb-6">Create Database</h2>
37
- <p className="text-gray-700 dark:text-gray-300 mb-4">
38
- Below are examples of how to create databases using AxioDB with
39
- different configurations.
40
- </p>
41
-
42
- <h3 className="text-2xl font-semibold mb-4">Default Instance</h3>
43
- <CodeBlock code={codeExamples.defaultInstance} language="javascript" />
44
-
45
- <h3 className="text-2xl font-semibold mt-8 mb-4">Custom Name</h3>
46
- <CodeBlock code={codeExamples.customName} language="javascript" />
47
-
48
- <h3 className="text-2xl font-semibold mt-8 mb-4">Custom Root Path</h3>
49
- <CodeBlock code={codeExamples.customRootPath} language="javascript" />
50
-
51
- <h3 className="text-2xl font-semibold mt-8 mb-4">Create Database</h3>
52
- <CodeBlock code={codeExamples.createDatabase} language="javascript" />
53
- </section>
54
- );
55
- };
56
-
57
- export default CreateDatabase;
@@ -1,263 +0,0 @@
1
- import React from "react";
2
- import {
3
- CheckCircle2,
4
- Database,
5
- Lock,
6
- Zap,
7
- Layers,
8
- FilterX,
9
- } from "lucide-react";
10
-
11
- const Features: React.FC = () => {
12
- return (
13
- <section id="features" className="pt-12 scroll-mt-20">
14
- <h2 className="text-3xl font-bold mb-6 flex items-center gap-2">
15
- <CheckCircle2 className="h-8 w-8 text-green-500" />
16
- Current Featured Features
17
- </h2>
18
-
19
- <div className="space-y-4 mb-12">
20
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
21
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
22
- Advanced Schema Validation
23
- </h3>
24
- <p className="text-gray-700 dark:text-gray-300">
25
- Define robust schemas to ensure data consistency and integrity
26
- across your collections.
27
- </p>
28
- </div>
29
-
30
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
31
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
32
- Chainable Query Methods
33
- </h3>
34
- <p className="text-gray-700 dark:text-gray-300">
35
- Leverage powerful methods like{" "}
36
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
37
- .query()
38
- </code>
39
- ,{" "}
40
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
41
- .Sort()
42
- </code>
43
- ,{" "}
44
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
45
- .Limit()
46
- </code>
47
- , and{" "}
48
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
49
- .Skip()
50
- </code>{" "}
51
- for seamless data filtering.
52
- </p>
53
- </div>
54
-
55
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
56
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
57
- Optimized Node.js Streams
58
- </h3>
59
- <p className="text-gray-700 dark:text-gray-300">
60
- Handle massive datasets effortlessly with high-performance
61
- read/write operations using optimized streams.
62
- </p>
63
- </div>
64
-
65
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
66
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
67
- Encryption-First Design
68
- </h3>
69
- <p className="text-gray-700 dark:text-gray-300">
70
- Protect sensitive data with optional AES-256 encryption for
71
- collections, ensuring data security at rest.
72
- </p>
73
- </div>
74
-
75
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
76
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
77
- Aggregation Pipelines
78
- </h3>
79
- <p className="text-gray-700 dark:text-gray-300">
80
- Perform advanced data operations like{" "}
81
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
82
- $match
83
- </code>
84
- ,{" "}
85
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
86
- $sort
87
- </code>
88
- ,{" "}
89
- <code className="bg-gray-100 dark:bg-gray-900 px-1 py-0.5 rounded">
90
- $group
91
- </code>
92
- , and more with MongoDB-like syntax.
93
- </p>
94
- </div>
95
-
96
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
97
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
98
- InMemoryCache Mechanism
99
- </h3>
100
- <p className="text-gray-700 dark:text-gray-300">
101
- Accelerate query execution by caching frequently accessed data,
102
- reducing query response time significantly.
103
- </p>
104
- </div>
105
-
106
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
107
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
108
- Plug-and-Play Setup
109
- </h3>
110
- <p className="text-gray-700 dark:text-gray-300">
111
- No additional database server required—install and start building
112
- instantly with minimal configuration.
113
- </p>
114
- </div>
115
-
116
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
117
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
118
- Tree-like Structure
119
- </h3>
120
- <p className="text-gray-700 dark:text-gray-300">
121
- Store data in a tree-like structure for efficient data retrieval and
122
- management.
123
- </p>
124
- </div>
125
-
126
- <div className="bg-white dark:bg-gray-800 rounded-lg p-4 shadow-sm border border-gray-100 dark:border-gray-700">
127
- <h3 className="font-semibold text-lg mb-2 text-blue-600 dark:text-blue-400">
128
- Auto Indexing on documentId
129
- </h3>
130
- <p className="text-gray-700 dark:text-gray-300">
131
- Automatically create index on documentId for faster queries without
132
- manual configuration.
133
- </p>
134
- </div>
135
- </div>
136
-
137
- <section id="limitations" className="pt-8 scroll-mt-20">
138
- <h2 className="text-3xl font-bold mb-6 flex items-center gap-2">
139
- <FilterX className="h-8 w-8 text-orange-500" />
140
- Current Limitations
141
- </h2>
142
-
143
- <div className="bg-orange-50 dark:bg-orange-900/20 border-l-4 border-orange-500 p-4 rounded-r-lg mb-8">
144
- <p className="text-gray-700 dark:text-gray-300 mb-4">
145
- While AxioDB offers many powerful features, there are some
146
- limitations to consider:
147
- </p>
148
-
149
- <ul className="space-y-3 list-disc pl-6 text-gray-700 dark:text-gray-300">
150
- <li>
151
- <strong>No Built-in Relation Tools:</strong> Unlike ODMs such as
152
- Mongoose, AxioDB doesn't provide built-in tools for managing
153
- document relations. While MongoDB-like NoSQL databases naturally
154
- don't enforce relations at the database level, AxioDB currently
155
- requires manual handling of references between collections.
156
- </li>
157
- <li>
158
- <strong>Not Optimized for Heavy Workloads:</strong> The database
159
- may not perform optimally with rapid data input/output scenarios
160
- or extremely large datasets (10M+ documents).
161
- </li>
162
- <li>
163
- <strong>Single-Thread Operations:</strong> Operations are
164
- performed on the main thread which can impact application
165
- performance during complex queries.
166
- </li>
167
- <li>
168
- <strong>Limited Query Complexity:</strong> Some advanced query
169
- patterns found in mature databases are not yet implemented.
170
- </li>
171
- <li>
172
- <strong>No Built-in Replication:</strong> Currently lacks
173
- distributed data replication capabilities for high availability
174
- setups.
175
- </li>
176
- </ul>
177
-
178
- <p className="mt-4 text-gray-700 dark:text-gray-300 italic">
179
- We're actively working to address these limitations in future
180
- releases.
181
- </p>
182
- </div>
183
- </section>
184
-
185
- <section id="future-plans" className="pt-8 scroll-mt-20">
186
- <h2 className="text-3xl font-bold mb-6 flex items-center gap-2">
187
- <Layers className="h-8 w-8 text-purple-500" />
188
- Future Plans
189
- </h2>
190
-
191
- <p className="text-gray-700 dark:text-gray-300 mb-6">
192
- We're committed to continuously enhancing AxioDB with cutting-edge
193
- features:
194
- </p>
195
-
196
- <div className="grid grid-cols-1 md:grid-cols-2 gap-4 mb-8">
197
- <div className="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
198
- <h3 className="font-semibold text-lg mb-2 text-purple-600 dark:text-purple-400">
199
- Inbuilt Web-Based GUI Dashboard
200
- </h3>
201
- <p className="text-gray-700 dark:text-gray-300">
202
- Provide a user-friendly, web-based interface similar to PhpMyAdmin
203
- for managing databases, collections, and data visually.
204
- </p>
205
- </div>
206
-
207
- <div className="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
208
- <h3 className="font-semibold text-lg mb-2 text-purple-600 dark:text-purple-400">
209
- Data Export and Import Mechanisms
210
- </h3>
211
- <p className="text-gray-700 dark:text-gray-300">
212
- Enable seamless export and import of data in various formats like
213
- JSON, CSV, and more.
214
- </p>
215
- </div>
216
-
217
- <div className="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
218
- <h3 className="font-semibold text-lg mb-2 text-purple-600 dark:text-purple-400">
219
- Docker Image with ODM Integration
220
- </h3>
221
- <p className="text-gray-700 dark:text-gray-300">
222
- Build a Docker image for this npm package-based DBMS, allowing
223
- integration with other programming languages via Object Document
224
- Mapping (ODM).
225
- </p>
226
- </div>
227
-
228
- <div className="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
229
- <h3 className="font-semibold text-lg mb-2 text-purple-600 dark:text-purple-400">
230
- Advanced Indexing
231
- </h3>
232
- <p className="text-gray-700 dark:text-gray-300">
233
- Implement multi-level indexing for lightning-fast queries on any
234
- field or combination of fields.
235
- </p>
236
- </div>
237
-
238
- <div className="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
239
- <h3 className="font-semibold text-lg mb-2 text-purple-600 dark:text-purple-400">
240
- Replication and Sharding
241
- </h3>
242
- <p className="text-gray-700 dark:text-gray-300">
243
- Introduce support for distributed data replication and sharding
244
- for high availability and scalability.
245
- </p>
246
- </div>
247
-
248
- <div className="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-sm border border-gray-100 dark:border-gray-700">
249
- <h3 className="font-semibold text-lg mb-2 text-purple-600 dark:text-purple-400">
250
- Comprehensive Documentation
251
- </h3>
252
- <p className="text-gray-700 dark:text-gray-300">
253
- Expand tutorials, examples, and API references for developers of
254
- all experience levels.
255
- </p>
256
- </div>
257
- </div>
258
- </section>
259
- </section>
260
- );
261
- };
262
-
263
- export default Features;
@@ -1,67 +0,0 @@
1
- import React from "react";
2
- import { PackageOpen, Terminal } from "lucide-react";
3
- import CodeBlock from "../ui/CodeBlock";
4
-
5
- const Installation: React.FC = () => {
6
- const installationCode = `npm install axiodb@latest --save`;
7
-
8
- return (
9
- <section id="installation" className="pt-12 scroll-mt-20">
10
- <h2 className="text-3xl font-bold mb-6 flex items-center gap-2">
11
- <PackageOpen className="h-8 w-8 text-blue-500" />
12
- Installation
13
- </h2>
14
-
15
- <p className="text-gray-700 dark:text-gray-300 mb-6">
16
- Getting started with AxioDB is simple. You can install it via npm:
17
- </p>
18
-
19
- <div className="bg-white dark:bg-gray-800 rounded-lg p-6 shadow-md border border-gray-100 dark:border-gray-700 mb-8">
20
- <div className="flex items-center gap-2 mb-4">
21
- <Terminal className="h-5 w-5 text-gray-500" />
22
- <h3 className="font-semibold">Install via npm</h3>
23
- </div>
24
-
25
- <CodeBlock code={installationCode} language="bash" />
26
-
27
- <div className="mt-4 bg-blue-50 dark:bg-blue-900/20 p-4 rounded-lg">
28
- <p className="text-sm text-gray-700 dark:text-gray-300">
29
- <strong>Note:</strong> AxioDB requires Node.js version 12.0.0 or
30
- higher. Make sure you have an appropriate Node.js version installed
31
- before proceeding.
32
- </p>
33
- </div>
34
- </div>
35
-
36
- <div className="bg-gray-50 dark:bg-gray-900 rounded-lg p-6 border border-gray-200 dark:border-gray-700 mb-8">
37
- <h3 className="font-semibold text-lg mb-4">System Requirements</h3>
38
-
39
- <ul className="space-y-2 list-disc pl-6 text-gray-700 dark:text-gray-300">
40
- <li>
41
- <strong>Node.js:</strong> v12.0.0 or higher
42
- </li>
43
- <li>
44
- <strong>Operating System:</strong> Cross-platform (Windows, macOS,
45
- Linux)
46
- </li>
47
- <li>
48
- <strong>Disk Space:</strong> Minimal (~2MB for the package itself)
49
- </li>
50
- <li>
51
- <strong>Dependencies:</strong> No external dependencies required
52
- </li>
53
- </ul>
54
- </div>
55
-
56
- <div className="bg-green-50 dark:bg-green-900/20 border-l-4 border-green-500 p-4 rounded-r-lg">
57
- <p className="text-gray-700 dark:text-gray-300">
58
- After installation, AxioDB is ready to use in your project without any
59
- additional setup or configuration! No database servers to install or
60
- configure.
61
- </p>
62
- </div>
63
- </section>
64
- );
65
- };
66
-
67
- export default Installation;