Skip to content

CrestNiraj12/portfolio-website

Repository files navigation

Website GNU GPL v3 license GitHub last commit time tracker Netlify Status

Portfolio Website

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.

Available Scripts

In the project directory, you can run:

npm start

Sets NODE_ENV to production and runs the server to start responding for requests.

npm azure

Sets NPM_CONFIG_PRODUCTION to false then,

  • npm install --prefix client

    Installs client dependency packages

  • npm run build --prefix client

    Runs the build script of client

  • node backend/config/utils/optimizeImages.js

    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.

npm run dev

Uses concurrently package. Runs 3 scripts:

  • nodemon server

    Starts the server using nodemon to start responding for requests

  • cd client && npm start

    Starts the React frontend

  • cd client && npm run watch-sass

    Uses node-sass package to watch .scss file changes and auto-compile it to css.

Other Accounts 📫

You can find and get touch with me on these accounts!