- Quick scaffolding
- Create components, containers, routes, selectors and sagas - and their tests - right from the CLI!
- Instant feedback
- Enjoy the best DX (Developer eXperience) and code your app at the speed of thought! Your saved changes to the CSS and JS are reflected instantaneously without refreshing the page. Preserve application state even when you update something in the underlying code!
- Predictable state management
- Unidirectional data flow allows for change logging and time travel debugging.
- Next generation JavaScript
- Use template strings, object destructuring, arrow functions, JSX syntax and more, today.
- Next generation CSS
- Write composable CSS that's co-located with your components for complete modularity. Unique generated class names keep the specificity low while eliminating style clashes. Ship only the styles that are on the page for the best performance.
- Industry-standard routing
- It's natural to want to add pages (e.g. `/about`) to your application, and routing makes this possible.
- Industry-standard i18n internationalization support
- Scalable apps need to support multiple languages, easily add and support multiple languages with `react-intl`.
- Offline-first
- The next frontier in performant web apps: availability without a network connection from the instant your users load the app.
- SEO
- We support SEO (document head tags management) for search engines that support indexing of JavaScript content. (eg. Google)
But wait... there's more!
- Clone this repo using
git clone --depth=1 http://[email protected]/git/RoamingDuck.git
- Move to the appropriate directory:
cd RoamingDuck
. - Run
npm install
in order to install dependencies and clean the git repo.
_At this point you can runnpm start
to see the example app athttp://localhost:3000
Now you're ready to rumble!
To generate an new component
npm run generate component
- select options as required.
To generate an new component
npm run generate container
- select options as required.
In Codebase config update:-
- app/appConfig.js
- server/config.js
- update the base_url where the application is serverd.
- BASE_URL like in "http://203.122.29.213:3061/tripdashboard" is "http://203.122.29.213:3061".
set the port that is set for the node application in
- server/port.js
- module.exports = parseInt(argv.port || process.env.PORT || '3000', 10);
- replace 3000 with new port number.
There are three packages global install in the environment.
- node 8.11.3 (to check type in terminal node -v)
- npm 5.6.0 (to check type in terminal npm -v)
- pm2 3.0.0 (to check type in terminal pm2 -v)
- npm install
- npm run build
- pm2 start server/index.js
- The Hitchhikers Guide to
react-boilerplate
: An introduction for newcomers to this boilerplate. - Overview: A short overview of the included tools
- Commands: Getting the most out of this boilerplate
- Testing: How to work with the built-in test harness
- Styling: How to work with the CSS tooling
- Your app: Supercharging your app with Routing, Redux, simple asynchronicity helpers, etc.
- Troubleshooting: Solutions to common problems faced by developers.
- Neha Takhi
- Pravin Kumar
This project is licensed under the MIT license, Copyright (c) 2017 Classic. For more information see `LICENSE.