To use the nu-create-cli, simply follow the instructions below, using npx
.
-
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
-
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
- change env.sample to .env
- add mongo uri env and uncomment
connectDb
in server.js
- 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