mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
- Created project structure and configuration for xtream-mock-server. - Implemented data generation for live, VOD, and series content using Faker.js. - Developed API handlers for account info, categories, streams, and series information. - Added caching mechanisms for portal data and details. - Implemented scenario management for user credentials and account status. - Set up Express server with health check and reset endpoints. - Configured TypeScript settings for the project. Entire-Checkpoint: 815a29d0e5a4
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "xtream-mock-server",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"sourceRoot": "apps/xtream-mock-server/src",
|
|
"tags": ["scope:dev-tools"],
|
|
"targets": {
|
|
"serve": {
|
|
"continuous": true,
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "pnpm tsx apps/xtream-mock-server/src/main.ts",
|
|
"cwd": "{workspaceRoot}",
|
|
"color": true,
|
|
"env": {
|
|
"PORT": "3211",
|
|
"NODE_ENV": "development"
|
|
}
|
|
}
|
|
},
|
|
"serve-with-watch": {
|
|
"continuous": true,
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "pnpm tsx watch apps/xtream-mock-server/src/main.ts",
|
|
"cwd": "{workspaceRoot}",
|
|
"color": true,
|
|
"env": {
|
|
"PORT": "3211",
|
|
"NODE_ENV": "development"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint"
|
|
}
|
|
}
|
|
}
|