Aggiorna package.json

This commit is contained in:
Fabio 2025-07-17 23:09:53 +08:00
parent 2ef07cc41d
commit 88c1305806

View file

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