mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat(licenses): enhance API and database integration for checkout sessions
- Updated development server port in package.json to 4002. - Introduced constants for website URLs based on environment. - Refactored database connection logic to use drizzle with PostgreSQL. - Added new API endpoint for creating checkout sessions with Stripe integration. - Implemented utility function to generate Stripe items based on license type and quantity. - Updated existing API routes to use a router for better organization.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"version": "0.0.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "PORT=4000 tsx watch src/index.ts",
|
||||
"dev": "PORT=4002 tsx watch src/index.ts",
|
||||
"build": "tsc --project tsconfig.json",
|
||||
"start": "node dist/index.js",
|
||||
"typecheck": "tsc --noEmit",
|
||||
|
||||
Reference in New Issue
Block a user