@shreyazz/genie
v1.1.1
Published
Genie is an utility CLI which helps to setup the basic backend project for developers, by downloading the usual required packages. It also sets up the `server.js` file with boiler plate code to get the server up and running with just one command.
Downloads
7
Maintainers
Readme
Genie 🧞
Genie is an utility CLI that makes the life of a developer easy by doing the boring and monotonous tasks.
What Genie can do for you 🔮
- Backend Builder
- It helps to setup the basic backend project for developers, by downloading the usual required packages. It also sets up the
server.js
file with boiler plate code to get the server up and running with just one command.
- It helps to setup the basic backend project for developers, by downloading the usual required packages. It also sets up the
- Components / Pages Creator
- It helps you to build React Funtional Components/Pages and initialise them with a
.css
and a.jsx
file with boilerplate code in it.
- It helps you to build React Funtional Components/Pages and initialise them with a
- React Cleaner
- It let's you clean a react app with unnecessary files and add important folders.
- Unnecessary Files include:
- logo.svg
- reportWebVitals.js
- App.test.js
- Important folders include:
- assets
- components
- pages
How to use Genie ⚡️
- Backend Builder Flag
- Run
npx @shreyazz/genie --port <port> --backend
to setup a basic backend directly.
- Run
- Page Builder
- Run
npx @shreyazz/genie --page <PageName>
in the root directory to build React Components (different pages) insrc/pages/
folder.
- Run
- Select Options
- Run
npx @shreyazz/genie --opts
to view different options and select from them. These options includeReact Cleaner
andBackend Builder
.
- Run
Future Updates ⚙️
- MongoDB Schema Generator