@c.i/create-mvp-repo
v3.0.1
Published
Create a mono-repo consisting of backend, frontend and db scripts taking entity schema.
Downloads
22
Maintainers
Readme
create-mpv-repo
There's a requirement to build a whole monorepo consisting of backend, frontend and db scripts. So here comes the tool.
This tool requires a schema
which is a json file, that specifies the entities. The entities will then be created as database tables and CRUD resources for backend.
Below is a dummy schema.json
file which specifies few entities.
{
"entities": {
"person": {
"name": {
"type": "varchar(50)"
},
"gender": {
"type": "varchar(50)"
},
"age": {
"type": "int"
}
},
"dog": {
"name": {
"type": "varchar(20)"
}
"about": {
"type": "text",
}
}
}
}
Usage
Run create-mpv-repo help
to list all the available commands and options.