axiodb 1.0.0 → 1.0.1
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/lib/Web/Fastify.d.ts +1 -0
- package/lib/Web/Fastify.js +18 -0
- package/lib/Web/Fastify.js.map +1 -0
- package/lib/Web/Keys/Keys.d.ts +3 -0
- package/lib/Web/Keys/Keys.js +8 -0
- package/lib/Web/Keys/Keys.js.map +1 -0
- package/lib/Web/Server/DBstatusApi.d.ts +0 -0
- package/lib/Web/Server/DBstatusApi.js +2 -0
- package/lib/Web/Server/DBstatusApi.js.map +1 -0
- package/package.json +7 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const fastify_1 = __importDefault(require("fastify"));
|
|
7
|
+
// Import the Details
|
|
8
|
+
const Keys_1 = require("./Keys/Keys");
|
|
9
|
+
const Server = (0, fastify_1.default)({ logger: true });
|
|
10
|
+
// Listen to the server
|
|
11
|
+
Server.listen({ port: Keys_1.General.PORT }, (err, address) => {
|
|
12
|
+
if (err) {
|
|
13
|
+
Server.log.error(err);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
16
|
+
Server.log.info(`AxioDB Web Interface is listening on ${address}`);
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=Fastify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fastify.js","sourceRoot":"","sources":["../../source/Web/Fastify.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAE9B,qBAAqB;AACrB,sCAAsC;AAEtC,MAAM,MAAM,GAAI,IAAA,iBAAO,EAAC,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAC;AAIxC,uBAAuB;AACvB,MAAM,CAAC,MAAM,CAAC,EAAC,IAAI,EAAE,cAAO,CAAC,IAAI,EAAC,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;IACjD,IAAI,GAAG,EAAE,CAAC;QACN,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACtB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IACD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,yCAAyC,OAAO,EAAE,CAAC,CAAC;AACxE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.General = void 0;
|
|
4
|
+
var General;
|
|
5
|
+
(function (General) {
|
|
6
|
+
General[General["PORT"] = 27018] = "PORT";
|
|
7
|
+
})(General || (exports.General = General = {}));
|
|
8
|
+
//# sourceMappingURL=Keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Keys.js","sourceRoot":"","sources":["../../../source/Web/Keys/Keys.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAEX;AAFD,WAAY,OAAO;IACf,yCAAW,CAAA;AACf,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DBstatusApi.js","sourceRoot":"","sources":["../../../source/Web/Server/DBstatusApi.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axiodb",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A fast, lightweight, and scalable open-source DBMS for modern apps. Supports JSON-based data storage, simple APIs, and secure data management. Ideal for projects needing efficient and flexible database solutions.",
|
|
5
5
|
"main": "./lib/config/DB.js",
|
|
6
6
|
"types": "./lib/config/DB.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "eslint source/**/*.ts --fix",
|
|
9
9
|
"build": "npm test && tsc",
|
|
10
|
-
"prepare": "npm run build"
|
|
10
|
+
"prepare": "npm run build",
|
|
11
|
+
"dev": "vite",
|
|
12
|
+
"build:react": "vite build",
|
|
13
|
+
"lint": "eslint .",
|
|
14
|
+
"preview": "vite preview"
|
|
11
15
|
},
|
|
12
16
|
"repository": {
|
|
13
17
|
"type": "git",
|
|
@@ -34,6 +38,7 @@
|
|
|
34
38
|
"url": "https://github.com/sponsors/AnkanSaha"
|
|
35
39
|
},
|
|
36
40
|
"dependencies": {
|
|
41
|
+
"ejs": "^3.1.10",
|
|
37
42
|
"joi": "^17.13.3",
|
|
38
43
|
"outers": "^8.5.8"
|
|
39
44
|
},
|