Simple Full Stack Project Generator based on ES6 syntax for both front-end and back-end that creates
Model and Controller Part handled by Backend written on JS with Express and TS using Nest
and
Seperate View Component using React, Vue and Svelte powered by Webpack and Eleventy powered by Browserify through --view flag
Along with creating MERN and MEVN etc.. stacks it has css precompilers through --style flag
Also JAM Stack support via Eleventy
After cloning the project. Execute
npm i && npm link
[directory-where-you-want-create-boilerplate] $ js-fullStack <project-name>
[directory-where-you-want-create-boilerplate] $ js-fullStack <project-name> --style=scss --view=vue --server=nest
[inside-folder-where-boilerplate-is-created] $ js-fullStack --resource=phone
[inside-folder-where-boilerplate-is-created] $ js-fullStack --route=phone
[directory-where-you-want-create-boilerplate] $ js-fullStack
--db
[directory-where-you-want-create-boilerplate] $ js-fullStack
--db --auth
npm start
that runs view Component on webpack-dev-server for live reload and hot reload functionality in 3000 along with Electron App and Express at 8080npm run build
that runs view Component on Express Server at 8080npm run build:electron
package.json
and update build:electron
to webpack --env.ELECTRON_PROD=true --mode production && electron-builder -mwl
and remember MacOS is possible with current executed OS is of Mac.npm run build:electron
and npm run build
it is advisable to follow this procedure:npm run build:electron
and after it is completed delete the terminal, open new one and execute this: npm run build
as there is permission execute issue
occuring after npm build:client
process cannot access the file
just close the ide, open it and delete build and dist folders and run the prev. command again.