backend-builders / backend-builder Goto Github PK
View Code? Open in Web Editor NEWCLI tool to generate backend boilerplates.
License: MIT License
CLI tool to generate backend boilerplates.
License: MIT License
There should be an animation or other indication of processing during project installation.
No loading or any feedback about the process.
Open source projects must have the Contribution Guidelines and Code of Conduct documents.
Without documentation.
We need boilerplates in other languages and technologies and adapt the main code as needed.
Only Node.js boilerplates and core functions adapted just for this environment.
The final output could have short instructions on how to access and run the project.
Current output is just 'Project [project name] successfully created!'.
CLI prompts must have proper validation to verify that user input is valid (no blank, minimum characters, etc).
No validation.
Use the Inquirer validation property as exemplified here: https://github.com/SBoudrias/Inquirer.js/tree/master/packages/input
There should be a check if the directory with the project name already exists in the user's cwd
No verification.
A proper README file must exist in the main project and in the boilerplates.
No README files.
When creating a new project, the user will be able to choose the type of license through options in the CLI.
No license files in boilerplates.
Create a prompt with license options, copy the appropriate file and change the package.json
There should be an automated workflow for running tests on Pull Requests.
No automation.
Create a file similar to the ESLint workflow.
The main structure of the project should have tests covering user interactions with the CLI and other core functionality as performed by the file system module.
No tests.
Sources:
https://github.com/SBoudrias/Inquirer.js/tree/master/packages/testing
The project should have files and settings for CI (Continuous Integration).
No CI configuration.
Each functionality should be in separate modules for better readability and code maintenance.
All code is in one file (index.js)
Node/Express boilerplates (with and without TypeScript) must have their first functionality tests.
No tests.
The project name in package.json must be the same as the one chosen by the user.
New projects have the same name as the boilerplate.
Dependencies should be installed automatically after transferring boilerplate directories and files.
Installation is done manually with the command npm install
Use the child_process
module
https://stackabuse.com/executing-shell-commands-with-node-js/
The user should be given the option to provide details about the project, which will change in the package.json file (eg description, tags, etc)
The option is unavailable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.