Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.46 KB

readme.md

File metadata and controls

39 lines (34 loc) · 1.46 KB

React Boilerplate

Under the Hood

Technologies used:

['Axios', 'Babel', 'Express', 'React', 'Redux', 'Webpack'];

Up & Running

Follow these two simple steps to initialize the application locally on your computer to start coding in minutes.

  1. npm install -> Installs dependencies. Babel, React, etc.
  2. npm start -> Starts node server and spins up Webpack for file compilation and hot reload.

Start coding! -> http://localhost:3000/

Client Code Architecture

index.jsx -> Root file for the React application. Initializes the Redux store, routes, etc.
actions -> Actions to be dispatched based on user events. Logging in, creating an account, etc.
assets -> Global assets required throughout the application. Sass mixins, variables, etc.
components -> Global components to be reused throughout the application. For example, a container component for responsiveness architecture.
reducers -> Initial state for the redux store.
routes -> Routes for the application.
scenes -> Also known as pages. Scenes are the components to be displayed via routes. For example, the login route will display the login scene, etc.

├── index.jsx
├── actions
|  └── ...
├── assets
|  └── ...
├── components
|  └── ...
├── reducers
|  └── ...
├── routes
|  └── ...
└── scenes
   └── ...