1.1.1 • Published 3 years ago
@shreyazz/genie v1.1.1
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.jsfile 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
.cssand a.jsxfile 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> --backendto 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 --optsto view different options and select from them. These options includeReact CleanerandBackend Builder.
- Run
Future Updates ⚙️
- MongoDB Schema Generator