0.3.3 • Published 3 years ago
@alvindiedevelop/project-generator-nodejs v0.3.3
Project generator nodeJS cli
This project have many templates to make the development a little more fast, and stop re-write and configuring.
Getting Started
Prerequisites
Requirements for the software and other tools to build, test and push
- NodeJS
- Git
Installing by npm
npm i -g @alvindiedevelop/project-generator-nodejs
execute
pgenerator
Select what type of project you want, and it will create the project.
- react
- create-react-app-redux-mui-react-router-i18n: create a builerplate bootrstraped with create-react-app but have:
- Redux (@reduxjs/toolkit)
- i18n for Internationalization
- i18next
- react-i18next - Wrapper for React.
- i18next-browser-languagedetector - for lenguage detector.
- react-router-dom
- Material-UI/MUI
- create-react-app-redux-mui-react-router-i18n: create a builerplate bootrstraped with create-react-app but have:
- nextjs
- next-app: project bootstrapped with create-next-app.
Build from source code
Clone the repository
git clone https://github.com/alvIndieDevelop/project-generator-nodejs.git
Run build
npm run build
To use the cli anywhere need to register "pgenerator" as a comand line interface.
npm link
To remove/uninstall
npm -g uninstall pgenerator
Built With
- Typescript
- Node.js
- inquirer.js - A collection of common interactive command line user interfaces.
- shell.js - Unix shell commands for Node.js
Authors
- Alvaro Martin Caballero - alvindiedevelop
TODO
- make a npm package.
- make a better description.
- add more templates.
- express.js
- express.js with typescript
- More reactjs (have multiple selection of react projects)