Files
Server/package.json
azures04 b03f5c91e6 Add badges, checkins, and transport endpoints
Introduce gamification and check-in support plus expanded transport/admin APIs. Added DDL for checkins, badges and user_badges. New repositories: badgeRepository, userBadgeRepository, checkinRepository. New routes: admin badge management, admin transport (lines/platforms/stations), public transport endpoints, user checkins and stations endpoints, and user badges on /me. Services updated: adminService (badge CRUD & user assignment), userService (checkins, badge queries), authService (hasAdminRights). Minor package.json name update. These changes implement database, repo, service and route wiring for badges, user_badins and checkin features and additional transport admin routes.
2026-09-23 02:09:39 +02:00

45 lines
1.0 KiB
JSON

{
"name": "tcjourney/server",
"version": "0.0.1-alpha",
"description": "",
"repository": {
"type": "git",
"url": "https://gitea.azures.fr/azures04/Base-REST-API"
},
"license": "AGPL-3.0-only",
"author": {
"name": "azures04",
"url": "https://gitea.azures.fr/azures04/Base-REST-API",
"email": "gilleslazure04@gmail.com"
},
"type": "commonjs",
"main": "bootstrap.js",
"scripts": {
"start:dev": "nodemon .",
"start": "node .",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"homepage": "https://gitea.azures.fr/azures04/Base-REST-API",
"readme": "https://gitea.azures.fr/azures04/Base-REST-API/src/branch/main/README.md",
"dependencies": {
"bcryptjs": "^3.0.3",
"colors": "^1.4.0",
"cors": "^2.8.6",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"helmet": "^8.3.0",
"hpp": "^0.2.3",
"jsonwebtoken": "^9.0.3",
"mariadb": "^3.5.3",
"path-to-regexp": "^8.4.2",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.9.1",
"globals": "^17.11.0",
"nodemon": "^3.1.14"
}
}