Skip to content

mustafa-asif/CourseMangementSystem

Repository files navigation

Course Management System

A full-stack course management system built with React (frontend) and Flask (backend), using MySQL for data storage.

Features

  • 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

Prerequisites

  • Node.js and npm
  • Python 3.x
  • MySQL Server

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/mustafa-asif/CourseMangementSystem.git

    cd CourseMangementSystem

  2. Install frontend dependencies:

    npm install

  3. 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.

  4. 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.
  5. Run the Flask backend server:

    python src\ backend\ Api.py

  6. Start the React frontend:

    npm start

    This will run the app in development mode. Open http://localhost:3000 to view it in your browser.

Additional Notes

  • Ensure that the backend server is running before starting the frontend to allow API calls to function correctly.

Learn More

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •