This is a project i did on my free time, and it is called BAC Average Calculator (حساب معدل الباك).
Check out this project on GitHub Pages.
This Project is depreciated (old design and bad calculation logic).
There is a better and newer version that uses Ionic/Angular to build the app.
Checkout the project on GitHub.
You can also download the app on Play Store.
A baccalaureate average calculator app that is based on the Algerian curriculum.
This application allow you to calculate your BAC average by choosing a branch then adding your exam marks for each subject, the app will display your average.
The project emphasizes using React to build a single page application.
-
Javascript (Programming Language)
-
React (A JavaScript library for building UI)
- react-dom, react-router, react-router-dom, react-icons, react-scripts, prop-types
-
-
Cmder (console emulator for Windows)
-
create-react-app (React project scaffolding manager)
-
git (Version control system)
- gh-pages
-
npm (Javascript package manager)
-
-
VSCode (Free. Open source code editor)
-
HTML5/CSS3 (Markup/Styling languages)
- node-sass
├── CONTRIBUTING.md
├── README.md - This file.
├── package.json # npm package manager file. It's unlikely that you'll need to modify this.
├── public
│ ├── 404.html # HTML file for fixing github-pages single page application routing.
│ ├── favicon.ico # App Icon, You may change if you wish.
│ ├── icon-192.png # App Icon for manifest file.
│ ├── icon-512.png # App Icon for manifest file.
│ ├── manifest.json # Meta data for the app.
│ └── index.html # DO NOT MODIFY
└── src
├── App.sass # Styles for your app. Feel free to customize this as you desire.
├── App.js # This is the root of your app. Contains static HTML right now.
├── data
│ ├── Branches.json # A JSON file containing all the branches
├── components # The building blocks of the app
│ ├── CalcPage.js # A class component that holds the calculations logic
│ └── MainPage.js # A class component that displays all branches and optional subjects
├── styles # The styling of the app
├── index.sass # Global styles. You probably won't need to change anything here.
└── index.js # You should not need to modify this file. It is used for DOM rendering only.
You can run the app locally or online.
If you want to run online you have to visit this project on GitHub Pages.
If you want to run locally you have to download the app first:
-
Click on the green
Clone or download
button above. -
Click on
Download ZIP
. -
Extract downloaded Zip file.
-
Install all project dependencies with
npm install
. -
Run server with
npm start
. -
With your server running, visit the site:
http://localhost:3000
.
-
If you have git installed you can clone this repo to your desktop by running this command line:
git clone https://github.com/Al-Yasa/bac-average-calculator-react.git
-
Install all project dependencies with
npm install
. -
Run server with
npm start
. -
With your server running, visit the site:
http://localhost:3000
.