identity-scaffold v2.3.5
identity-scaffold
A typeScript web development resources creator for nodeJs. creating the 4 main CRIU operations endpoints and admin-bro resource for admin panel.
How to install
npm i identity-scaffold
Getting Started
const scaffold = require('identity-scaffold');
const modelName = "User";
const attributes = "name, string, true; photo, string, false";
const projectRootDirectory = "../src"
scaffold.createResource(modelName, attributes, projectRootDirectory);
Features
Supported Data types
- string
- number
- boolean
- MODEL_NAME (to reference for another model in the project )
// Assuming that there is another model in the system named User
// There is an example for the different supported types
// There third option refers required, it could be either true or false
// attribute format: "Name, Type, Required"
const attributes = "name, string, true; photo, string, false; userId, User, true; amount, number, true";
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
9 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
9 months ago
10 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
9 months ago
9 months ago
10 months ago
9 months ago
9 months ago
10 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago