nu-create-cli
v1.0.5
Published
Nu app builder cli.
Downloads
1
Maintainers
Readme
nu-create-cli
To use the nu-create-cli, simply follow the instructions below, using npx
.
Template apps using the --variant <name>
flag
mern
nu-be
- Node, Express, JWT, Express-Validator, MVC, Mongo
nu-fe
- React, Material, Recoil
nu-app
- Complete MERN app coming soon
default
- coming soon
Instructions
Once you have installed the global app:
- create a directory for your app
mkdir new-app
- change directory
cd new-app
npx nu-create make mern --variant <name>
~ coming soonnpx nu-create make mern
for default node,npm install
ornpm i
- Frontend run
npm start
or Backend runnpm run dev
Node backend changes
- change env.sample to .env
- add mongo uri env and uncomment
connectDb
in server.js
React SPA frontend changes
If you decide to install globally, but npx
is the recommended method
- Install globally using
npm i -g nu-create-cli
- check your global version
npm list -g --depth 0
- remove global install
sudo npm uninstall -g nu-create-cli
- check for outdated verison
npm outdated -g --depth 0
- update global version
npm update -g nu-create-cli
- update all global installs
npm update -g