mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat(licenses): implement license management and validation features
- Added a new licenses application to handle license key management. - Implemented API endpoints for validating license keys and managing paid features. - Introduced a new component for enabling paid features in the dashboard. - Updated database schema to include a licenseKey field for users. - Refactored server API to remove the admin router and integrate license validation into user operations. - Enhanced the monitoring setup process to require valid license keys. - Updated pnpm workspace configuration to include the new licenses app.
This commit is contained in:
32
apps/licenses/package.json
Normal file
32
apps/licenses/package.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "@dokploy/licenses",
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "PORT=4000 tsx watch src/index.ts",
|
||||
"build": "tsc --project tsconfig.json",
|
||||
"start": "node dist/index.js",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"pino": "9.4.0",
|
||||
"pino-pretty": "11.2.2",
|
||||
"@hono/zod-validator": "0.3.0",
|
||||
"zod": "^3.23.4",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"@dokploy/server": "workspace:*",
|
||||
"@hono/node-server": "^1.12.1",
|
||||
"hono": "^4.5.8",
|
||||
"dotenv": "^16.3.1",
|
||||
"stripe": "17.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.4.2",
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@types/node": "^20.11.17",
|
||||
"tsx": "^4.7.1"
|
||||
},
|
||||
"packageManager": "pnpm@9.5.0"
|
||||
}
|
||||
Reference in New Issue
Block a user