My personal website and a personal project to challenge myself to build a website with ReactJS frontend while using Redux, Sass and NodeJS with Express for the backend after one or two online courses.
In the project directory, you can run:
Sets NODE_ENV to production and runs the server to start responding for requests.
Sets NPM_CONFIG_PRODUCTION to false then,
-
Installs client dependency packages
-
Runs the build script of client
-
Optimizes and Resizes images for better performance. Makes use of imagemin package that uses the following plugins to optimize:
For resizing, Jimp package is used.
Uses concurrently package. Runs 3 scripts:
-
Starts the server using nodemon to start responding for requests
-
Starts the React frontend
-
Uses node-sass package to watch .scss file changes and auto-compile it to css.
You can find and get touch with me on these accounts!