0.0.1 • Published 5 years ago
mongoose-scaffold v0.0.1
Mongo-Scaffold
npm i -g mongoose-scaffold
A simple CLI tool to generate mongoose schemas for lazy developers.
It's still under development ( version 0.0.1 ). So basically it creates a new schema file with the dummy data added from the source code. The next feature will add a comprehensive command line prompt where the user can input the variables to be included in the schema.
Usage
From the command line:
mongoose-scaffold --create <filename-without.js>
It generates the file in the current working direction with some dummy data, you should edit them to your taste.
Todos
- Add features that allows user input their own data.
- Add more dummy data.
- Add a less or more option that'll determine the amount of dummy data.
- Add authentication support e.g Joi etc.
- Write tests ( that's in the future, lol ).
Contributing
Well, this is a very basic project and it's very very open to contribution. Just:
- Fork the repo
- Create a new branch with the feature name
- Work on it and send a PR!
License
MIT Abdulazeez Abdulazeez Adeshina
0.0.1
5 years ago