nk-solution
v1.0.0
Published
package.json .eslintrc.js bower.json .babelrc .editorconfig README.md
Downloads
1
Readme
Project Structure
package.json
.eslintrc.js
bower.json
.babelrc
.editorconfig
README.md
config
libs.js
webpack.config.js
webpack.config.pro.js
webpack.config.dev.js
public
// is the page template;
index.html
favicon.ico
src
App.js
//is the JavaScript entry point.
index.js
//for redux
store
actions
reducers
assets
utils
api
//presentational component
components
// UI : generic components
UI
// HOC components
HOC
/**
* The container component is the one that carries all the logic: functions for handling state changes,
* internal component state and so on.
*/
containers
init
npm install
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
npm run build
Builds the app for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
Technologies
- ReactJs
- React Router
- React Router Doom
- SCSS
- redux
- react-redux
- redux-saga (https://redux-saga.js.org/docs/introduction/BeginnerTutorial.html)
- redux-form (https://redux-form.com/8.2.2/docs/gettingstarted.md/)
- redux-form-validators (https://github.com/gtournie/redux-form-validators)
- lodash (https://lodash.com/)
- classnames (https://github.com/JedWatson/classnames)
global variable
- classnames
- jQuery
- $
third party
config : go to config/libs.js
add libraries const alias = { jQuery: path.resolve(bowerDir, 'jquery/dist/jquery.min.js'), bootstrap: path.resolve(bowerDir, 'bootstrap/scss'), };
const mapping = { jQuery: 'jQuery', $: 'jQuery', };