Web Instant
Create and Run React and Redux application instantly
Why
- Simple - A single line of execution empowers the fast iteration for your MVP.
- Instant - Bootstrap your Web App instantly with configuration free.
- Powerful - Hot Reload, CSS Modules, PostCSS, and more are ready for instant Mobile first and Offline first experience.
Installation
npm install -g web-instant
Usage
Create
Assuming the name of your Web App is sample-app
.
web-instant create sample-app
or you can use wi
instead.
wi create <any name your want>
The creation time will take around 5 minutes long to complete since it will run async npm install
for you.
After creation, run cd sample-app
to navigation to the newly created project.
Once a project is successfully generated, you can just simply execute:
npm start
npm start
will also generate a build for you into ./public
folder.
However, you can also build it by your own by executing:
npm run build
Assets under ./public
will be production ready.
Generate
Generator command looks like this:
wi generate <type> <feature> <name>
Example:
wi generate component comment commentBox // ./src/comment/components/CommentBox.jsx
Templates
You may also want to take a look for the template:
https://github.com/yhjor1212/web-instant-templates