This repository contains the full stack system for the Calvary Christian Academy, integrating ML-powered predictive tuition risk analytics, automated AI report generation, and academic tracking.
Follow these instructions to clone, set up, and run the project on your local machine.
Before you begin, ensure you have the following installed on your machine:
Open your terminal (Command Prompt, PowerShell, or Git Bash) and run:
git clone https://github.com/itszedddd/CCA-Academic-System.git
cd CCA-Academic-System
The backend manages the database, API endpoints, and AI integrations.
cd backend
python -m venv venv
venv\Scripts\activate
source venv/bin/activate
pip install -r requirements.txt
.env in the backend/ folder.GEMINI_API_KEY=your_gemini_api_key_here
python -m uvicorn app.main:app --reload --port 8000
The API will be available at http://127.0.0.1:8000. Leave this terminal window running.
The frontend handles the user interface and interacts with the backend API.
cd CCA-Academic-System/frontend
npm install
npm run dev
The UI will usually be available at http://localhost:5173/. Follow the local link provided in your terminal.
If you need to access the system publicly (e.g., from a mobile device or sharing with an advisor), you can use ngrok.
cd frontend
npm run build
CCA-Academic-System folder.ngrok.yml file to include your unique ngrok authtoken.ngrok start cca --config ngrok.yml
Ngrok will provide a public HTTPS URL forwarding to your local system.
Once the system is running, the database will auto-seed default users if it is empty.
You can log in using the following roles (Password is password123 for all):