- Fork the libraries which are not maintained to stay updated with security fixes.
- Use
dotenv
- Manager environment variables using
dotenv
https://github.com/motdotla/dotenv. - Use
NODE_ENV
for differentiating betweendevelopment
andproduction
. - Upgrade
build
script if necessary. - Upgrade
start
script to handle the entire server and create a separate script for frontend server.
- Manager environment variables using
- Hot Module Replacement (HMR)
- Research the possibility of hot reloading entry point (
src/index.js
) by implementing HMR interface. - If above is possible, research the benefits of
hotOnly: true, // No-Reload, only HMR
- Research the possibility of hot reloading entry point (