# Edupyramids College
Django REST API + React frontend for Edupyramids College project.
---
## Requirements
- **Python**: 3.12
- **Django**: 5.2.5 (see `backend/requirements.txt`)
- **Node.js**: v20.19.2
- **npm**: (bundled with Node)
- **React**: ^19.1.1
---
## Getting Started
### 1. Clone the repo
```bash
git clone https://github.com/Spoken-tutorial/Edupyramids-College.git
cd Edupyramids-Collegecd backend
# create & activate virtualenv
python -m venv .venv
source .venv/bin/activate # Linux / macOS
# .venv\Scripts\activate # Windows PowerShell
# install dependencies
pip install -r requirements.txt
# copy env file
cp .env.example .env
# run migrations
python manage.py migrate --settings=config.settings.dev
# start server
python manage.py runserver --settings=config.settings.devBackend runs at: π http://127.0.0.1:8000 Health check: http://127.0.0.1:8000/api/health/
cd frontend
# install dependencies
npm install
# start dev server
npm run devFrontend runs at: π http://localhost:5173
Edupyramids-College/
βββ backend/ # Django + DRF API
β βββ config/ # settings, urls, wsgi
β βββ apps/ # local apps
β βββ manage.py
βββ frontend/ # React + Vite app
β βββ src/ # components, pages
β βββ vite.config.js
βββ .editorconfig
βββ .gitignore
βββ README.md
- Use Python 3.12 and Node 20.x for consistent results.
- Virtualenv (
.venv/) andnode_modules/are ignored in git. - For production, update
prod.pysettings and environment variables.
---