To start:
- Start a mongoDB
- Generate VAPID keys for Push Notification API
- Install dependencies with
yarn
- To Start the development server, run
yarn run dev
HMR is enabled. This means that as you changes react components, they will update on the client. It also means as you change the routes, the server will reload these routes
If you want to build production, run npm run build
then npm start
will start the production environment.
Tests should go in the test folder, and mirror the source folder. If testing React Components, it is acceptable to write a index.test.js which Jest will pick up in the component folder.
Off the top of my head:
- React
- Redux
- React-Router
- Express
- Mongoose
- Code Splitting
- Vendor Manifest with react, etc to minify size on updates.
- Redux Dev Tools
Client-side React component hot reloading ✅ Server-side React component hot reloading ✅ Server-side express routes hot reloading ✅ Client side css-modules hot reloading (TBC)