DEV Community

loading...

Omega App : Client

devsmranjan profile image Smruti Ranjan Rana ・1 min read

Packages we need.

"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/react-fontawesome": "^0.1.11",
"axios": "^0.20.0",
"bootstrap": "^4.5.2",
"query-string": "^6.13.5",
"react": "^16.13.1",
"react-bootstrap": "^1.3.0",
"react-dom": "^16.13.1",
"react-redux": "^7.2.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^3.4.4",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0"
Enter fullscreen mode Exit fullscreen mode

Routes

  • /login : Login Page
  • /signup : Signup Page
  • /resetPassword/:token: Reset Password
  • /verifyEmail/:token : Verify Email
  • /dashboard : Dashboard Page
  • /subscriptions: Subscription Page

Environment variables

* REACT_APP_SERVER_ENDPOINT=<Server API Endpoint ex: /api>
* SERVER_URL=<Server URL ex: http://localhost:5000>
Enter fullscreen mode Exit fullscreen mode

Reducers

  • authReducers.js : Handle Auth data
  • errorReducer.js : Handle Errors data
  • loadingReducer.js : Handle Loading
  • spreadsheetsReducer.js : Handle Spreadsheets data
  • subscriptionsReducer.js : Handle Subscriptions data
  • userReducer.js : Handle Users data

Actions

  • authActions.js : Handle Auth actions
  • errorActions.js : Handle Error actions
  • spreadsheetsActions.js : Handle Spreadsheet actions
  • subscriptionsAction.js : Handle Subscription actions
  • userAction.js : Handle User actions

Discussion

pic
Editor guide