slugbase-core 1.0.0
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 +8 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# slugbase-core
|
|
2
|
+
|
|
3
|
+
This package contains the SlugBase core backend and frontend build artifacts. It is published from the [slugbase](https://github.com/mdg-labs/slugbase) repository.
|
|
4
|
+
|
|
5
|
+
- **Standalone**: Run `npm start` (or `node dist/backend/index.js`) to run the self-hosted server. Set `NODE_ENV=production` and ensure env vars (e.g. `DB_PATH`, `JWT_SECRET`, `SESSION_SECRET`, `ENCRYPTION_KEY`) are set.
|
|
6
|
+
- **SlugBase Cloud**: Use as a dependency; mount the Express app or run the server behind your cloud API.
|
|
7
|
+
|
|
8
|
+
Full documentation: [https://docs.slugbase.app](https://docs.slugbase.app)
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "slugbase-core",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "SlugBase core backend and frontend (self-hosted). Use as dependency for SlugBase Cloud or run standalone.",
|
|
5
|
+
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/backend/index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"start": "node dist/backend/index.js"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@sentry/node": "^8.0.0",
|
|
16
|
+
"bcryptjs": "^2.4.3",
|
|
17
|
+
"better-sqlite3": "^12.4.1",
|
|
18
|
+
"cookie-parser": "^1.4.7",
|
|
19
|
+
"cors": "^2.8.5",
|
|
20
|
+
"dotenv": "^16.3.1",
|
|
21
|
+
"express": "^4.18.2",
|
|
22
|
+
"express-rate-limit": "^8.2.1",
|
|
23
|
+
"express-session": "^1.17.3",
|
|
24
|
+
"helmet": "^8.1.0",
|
|
25
|
+
"jsonwebtoken": "^9.0.3",
|
|
26
|
+
"node-cron": "^3.0.3",
|
|
27
|
+
"nodemailer": "^7.0.12",
|
|
28
|
+
"openai": "^6.22.0",
|
|
29
|
+
"passport": "^0.7.0",
|
|
30
|
+
"passport-jwt": "^4.0.1",
|
|
31
|
+
"passport-openidconnect": "^0.1.1",
|
|
32
|
+
"pg": "^8.11.3",
|
|
33
|
+
"postmark": "^4.0.5",
|
|
34
|
+
"stripe": "^20.3.1",
|
|
35
|
+
"swagger-jsdoc": "^6.2.8",
|
|
36
|
+
"swagger-ui-express": "^5.0.1",
|
|
37
|
+
"uuid": "^9.0.1",
|
|
38
|
+
"zod": "^3.22.4"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=20"
|
|
42
|
+
}
|
|
43
|
+
}
|