Skip to content

ryebytescode/iqra-sbms

Repository files navigation

IQRA Student Billing System

This system is designed to efficiently manage billing and payment processes for students at IQRA Development Academy, Inc., enhancing the handling of student finances.

IQRA Website: https://iqra.edu.ph/

Tech

Frontend

  • Typescript
  • React
  • Mantine (UI)
  • Tanstack Table
  • Tanstack Router (routing)
  • Zustand (persistent store)
  • React Hook Form (form handling)
  • Tanstack Query (data fetching and caching)
  • Nginx (production server)

Backend

  • Flask
  • SQlAlchemy
  • Poetry (Dependecy management)
  • Gunicorn (production server)

Installation (Containerized)

This project requires the following:

If you are on Windows and chose to install Docker under WSL, run

wsl --install -d Debian

Clone the repo

git clone -b v2 https://github.com/nobrelli/iqra-sbms.git

Run docker compose

docker compose up --watch

Manual Installation for Windows

  1. Download the latest Git (select 64-bit standalone installer)
  2. Download Python v3.12.3
  3. Download the latest Node
  4. Run Git installer. Just click Next all throughout.
  5. Run Python installer. CHECK "Use admin privileges when installing py.exe" and "Add python.exe to PATH" and click "Install Now"
  6. Run Node installer. Just click Next all throughout.
  7. Open CMD
  8. Install pipx
py -m pip install --user pipx
  1. Add pipx to PATH
setx path "%PATH%;%APPDATA%\Python\Python312\Scripts"

IMPORTANT: RESTART CMD BEFORE PROCEEDING

  1. Install poetry
pipx install poetry
  1. Add poetry to PATH
pipx ensurepath

IMPORTANT: CLOSE CMD AND START CMD AS "ADMINISTRATOR" BEFORE PROCEEDING

  1. cd to the folder where you want to clone the project into

Example: cd Documents

  1. Clone the project
git clone https://github.com/nobrelli/iqra-sbms.git
  1. cd into the project
cd iqra-sbms
  1. Install Yarn
corepack enable
yarn set version stable
  1. If it prompts, type and enter y to install Yarn
  2. Install the root dependencies
yarn
  1. cd into client and install the client dependencies
cd client
yarn
  1. cd into server
cd ..
cd server
  1. Install server dependencies
poetry lock
poetry install --no-root
poetry shell
  1. cd back to the root
cd ..
  1. Run setup script
py setup.local.py
  1. Select 1) Development and hit Enter all throughout
  2. Enter y to confirm
  3. Enter n to refuse running the server
  4. Run the frontend and backend servers
yarn run:all
  1. If the firewall prompt pops up, just allow it.
  2. Run http://localhost:5173

About

A student billing system web app I made for a client

Topics

Resources

Stars

Watchers

Forks

Contributors