Aggiorna package.json

This commit is contained in:
Fabio 2026-02-20 19:04:07 +08:00
parent f4f2387739
commit 6f08bab103

View file

@ -4,8 +4,8 @@
"description": "Building a Fake and JWT Protected REST API with json-server", "description": "Building a Fake and JWT Protected REST API with json-server",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "json-server --watch ./api_v1/db.json --host 0.0.0.0 -p 4000 -s ./public", "start-no-auth": "json-server --watch ./api_v1/db.json --host 0.0.0.0 -p 4000 -s ./public",
"start-auth": "node ./api_v1/server.js --host 0.0.0.0 -p 4000 -s ./public", "start": "node ./api_v1/server.js --host 0.0.0.0 -p 4000 -s ./public",
"mock-data": "node ./api_v1/generateData.js > ./api_v1/db.json", "mock-data": "node ./api_v1/generateData.js > ./api_v1/db.json",
"hash": "node ./api_v1/tools.js", "hash": "node ./api_v1/tools.js",
"search": "node ./api_v1/search.js", "search": "node ./api_v1/search.js",