A full-stack course management system built with React (frontend) and Flask (backend), using MySQL for data storage.
- Student and teacher portals
- Course enrollment and management
- API endpoints for course and user data
- MySQL-based backend with Flask
- React-based frontend with Create React App
- Node.js and npm
- Python 3.x
- MySQL Server
-
Clone the repository:
git clone https://github.com/mustafa-asif/CourseMangementSystem.git
cd CourseMangementSystem
-
Install frontend dependencies:
npm install
-
Set up the MySQL database:
-
Create a new MySQL database.
-
Import the provided SQL schema and data:
- MySQL.txt`
-
This files contain the necessary table structures and sample data.
-
-
Configure the Flask backend:
- Open the Flask backend file ( Api.py).
- Update the MySQL connection settings with your server name, username, password, and database name.
-
Run the Flask backend server:
python src\ backend\ Api.py
-
Start the React frontend:
npm start
This will run the app in development mode. Open http://localhost:3000 to view it in your browser.
- Ensure that the backend server is running before starting the frontend to allow API calls to function correctly.