UNPKG

express-schema-generator

Version:

This Package Create Express+Mongoose Schema BoilerPlate

109 lines (66 loc) 4.52 kB
# express-schema-generator [Site](https://express-schema.netlify.app/) | [Docs](https://express-schema.netlify.app/docs) | [Contributing](https://github.com/shaantanu9/express-schema-generator) | [Code of Conduct](https://code-of-conduct.openjsf.org) | [Twitter](https://twitter.com/ShantanuMali9) | [Chat](https://gitter.im/shaantanu9) ### Bored Writing and Creating the Same Express MVC Folders Again and Again Here we Go The [express-schema-genrator](https://express-schema.netlify.app/) is a simple Fast CLI that create Express+Mongoose MVC pattern. ## $ npm i -g express-schema-generator #### // it is CLI Base so need to install Globally Generate MVC Base Schema File Structure: ### How to Use in Terminal: ```js // Create the Whole Basic Express Schema. create-express-schema create <projectName> // <projectName> is Same as File Name // To Download Models and Controllers cd <projectName> // Now To Download Models and Controllers create-express-schema add <modelName1> <modelName2> <modelName3> ``` ## Go Through the Schema Model Selects Through 100+ Schema - [Models List](https://github.com/shaantanu9/express-schema-generator/tree/main/samples/models) - [Controllers List](https://github.com/shaantanu9/express-schema-generator/tree/main/samples/contollers) - [MiddleWares List](https://github.com/shaantanu9/express-schema-generator/tree/main/samples/middleware) - [Authentication List](https://github.com/shaantanu9/express-schema-generator/tree/main/samples/authentication) **express-schema-generator** is released under the [MIT license](https://raw.githubusercontent.com/lodash/lodash/4.17.10-npm/LICENSE) & supports modern environments.<br> #### Please Star the [Repo](https://github.com/shaantanu9/express-schema-generator) on GitHub and Share with Other Fellow Developers ## Installation Using npm: ```shell $ npm i -g express-schema-generator // it is CLI Base so need to install Globally $ npm i express-schema-generator ``` Note: add `--save` if you are using npm < 5.0.0 Bore Writing and Creating the Same Express MVC Folders Again and Again Here we Go . ## Why Express-Schema-Generator? Programming is all About simplifying and Automating Stuff<br> ### Then Why Build Same BoilerPlate Again and Again Use this Package and (getAwayFromThePain) create Express+Mongoose BoilerPlate - Get Read of Wrting and Creating Same Thing - Choose from +100 Models and Controllers - Directly Start Working on the real Logic - Reduce time of Development by atleast 10% ### Please Contribute Models and Controllers #### Become a [Open Source Contributer](https://github.com/shaantanu9/express-schema-generator) We **express-schema-generator** wants to help Each and Every Programmer Writing real Logical code, without **wasting time** of Generating the MVC Schema. So We are Here to Add as much as Models and Controllers and Other important files as Possible ### How can You Support and Help others? If you have written any **unique schema**, Add that to this list, How?Simple - Go the [Github Repo](https://github.com/shaantanu9/express-schema-generator) - Fork that Repo => Add the [Model](https://github.com/shaantanu9/express-schema-generator/tree/main/samples/models) and [Contoller](https://github.com/shaantanu9/express-schema-generator/tree/main/samples/Contollers) in [Samples](https://github.com/shaantanu9/express-schema-generator/tree/main/samples) - Clone and Download it and Add the File in given manner. - Name of the Model Need to be **Unique** and **Self explainatory** - Upload in your Repo => Pull Request and Done ## Licence MIT #### I love to work with Open Source Projects #### Contact Me [Twitter](https://twitter.com/ShantanuMali9) [Linkedin](https://www.linkedin.com/in/shantanu-bombatkar) ## Keywords [express-schema-generator](https://www.npmjs.com/search?q=keywords:express-schema-generator) [express-mongoose-boilerplate](https://www.npmjs.com/search?q=keywords:express-mongoose-boilerplate) [mongoose-boilerplate](https://www.npmjs.com/search?q=keywords:mongoose-boilerplate) [mvc express schema](https://www.npmjs.com/search?q=keywords:mvc-express-schema) [](https://www.npmjs.com/search?q=keywords:) [express-schema](https://www.npmjs.com/search?q=keywords:express-schema) [create-express-server](https://www.npmjs.com/search?q=keywords:create-express-server) [create-express-Schema](https://www.npmjs.com/search?q=keywords:create-mongoose-schema) [create-mongoose-server](https://www.npmjs.com/search?q=keywords:create-mongoose-server)