This website collects cookies to deliver better user experience
npm i -g superapiboost
sabo new -n=[NOMBRE]
📦API ┣ 📂node_modules ┣ 📂src ┃ ┣ 📂api ┃ ┃ ┣ 📂routes ┃ ┃ ┗ 📜index.ts ┃ ┣ 📂controllers ┃ ┃ ┗ 📜mongoBasic.ts #Basic CRUD Methods ┃ ┣ 📂interfaces ┃ ┣ 📂tools #transversal functions in the project ┃ ┃ ┗ 📜validateType.ts ┃ ┣ 📜app.ts ┃ ┣ 📜config.ts ┃ ┗ 📜mongo.ts ┣ 📜package-lock.json ┣ 📜package.json ┗ 📜tsconfig.json
npm start
{ "name":{ "type":"string", "required":true, "default":"'Andy'" }, "cellphone":{ "type":"number", "required":false }, "isValid":{ "type":"boolean", "required":true, "default":"true" } }
sabo generate -n=User -p="C:\models\user.json"
38
0