This is a template for CRUDy React Components that use Redux-Thunk and TypeScript. This template will allow you to quickly create new Components for your React-Redux Application's Front End, using Find and Replace in the files.
Several files in this template are simply shell files.
- Bootstrap is not installed in this directory.
- ./client/state/modules/FindandReplace/style.scss refers to a bootstrap file that does not exist.
- ./client/state/modules/FindandReplace/index.tsx refers to the IStore interface in the eponymous file. Currently this interface is empty. It can easily be replaced by the IStore interface in your application by changing the relative path.
- This React-Redux set up is incomplete. It does not include a redux store, an index.html file for displaying the React Component, and combinedReducers file if you need multiple reducers in your application. It also has no functionality on it's own, even if these were added. These aspects are omitted because they should be specific to your application, so adding them here would be redundant.
- There are several npm packages and corresponding @types/ files. Most of these are needed for these files to work properly, and all are recommended to add to your application. Make sure to add them to your package.json.
- Find and Replace the term FindandReplace with UpperCamelCase name for reducer and corresponding action creators and handlers.
- Find and Replace the tern FindReplace (no and) with UPPERCASE name for action types.
- Find and Replace endpoint to correctly interact with your server.
- Change
hostvalue to your domain. Default set equalhttp://localhost:3000/ - Change name of the FindandReplace directory.
- Find and Replace the term FindandReplace with same name from corresponding redux file.
- Find and Replace the tern FindReplace (no and) with your Component name. Can be different from corresponding redux file.
- Change name of the FindandReplace directory.