Quick start
- Clone repo using
git clone https://github.com/srthapa927/react-starter-kit.git <YOUR_PROJECT_NAME>
- Move to the project directory:
cd <YOUR_PROJECT_NAME>
. - Run
npm i
in order to install dependencies. - Now you can run
npm run dev
to see the example app athttp://localhost:8080
Features
- React
- Connected React Router
- Redux
- Redux Persist
- Redux Sauce
- Redux Saga
- Immer
Folder Structure
-- src/
-- actions/ --> for redux actions
-- assets/ --> for static assets and styles
-- components/ --> for components
-- common/ --> for shared components
-- reducers/ --> for redux reducers
-- routes/ --> for all routes
-- sagas/ --> for redux sagas
-- services/ --> for api requests
-- utils/ --> for utility / helper functions
-- views/ --> for page specific components / container components