/CGPA_Calculator

Application ๐Ÿ˜ƒ for calculating ๐Ÿ“ CGPA & SGPA ๐Ÿ’ฏ

Primary LanguageJavaScript

CGPA Calculator ๐Ÿš€

  • This ๐Ÿค–app Calculate๐Ÿ“ CGPA & SGPA.๐Ÿ’ฏ
  • Project is based on VTU CGPA Calculation Formulaโž—.

Untitled

Untitled

Idea about building this Project

  • Calculating CGPA is some time irritating ๐Ÿค“ so thought of building one Application which include User Interactivity โค๏ธ & user Flexiblity .
  • Developing this app using โš›๏ธ React & Redux was fun & challenging.
  • Main logic of this app is in state/cgpaSlice.js file.
  • A much interactive UI๐Ÿ’ป, we can add more subjects, remove subjects, change the subjects marks๐Ÿ’ฏ, even add & remove semesters Card etc.

Run with Docker

docker build . -t cgpa
docker container run -p 3000:3000 -d --name cgpa cgpa

Run with Docker Compose

  • First Create my_network
docker network create my_network

Development build with docker compose

  • Run Container
docker-compose -f .\docker-compose.dev.yml up -d
  • Stop Container
docker-compose -f .\docker-compose.dev.yml down

Production build with docker compose

  • Run Container
docker-compose -f .\docker-compose.prod.yml up -d
  • Stop Container
docker-compose -f .\docker-compose.prod.yml down

How to run

  • Installing pnpm
    npm install -g pnpm
  • Installing pnpm dependencies
    pnpm install 
  • Run in Development Mode
    pnpm run dev
  • Run in Production Mode
    pnpm run build
    pnpm run start

Image

Untitled

Untitled