/OnlineEdSystem

A Flask Website where the teacher can create courses and students can enroll and view them

Primary LanguageHTML

A OnlineEdSystem Website

The website allows you register and create course related study material if you are logged in as a teacher or gives access to the courses if you are logged in as a student.

Open to any recommendations to make this website better and more functional

Requirements

A version of python
pip package manager installed
Local instance of MySQL running on localhost as user root
Set MySQL password as an environment variable as 'MYSQL_PWD'
Run queries.sql
pip install flask
pip install mysqlclient
pip install flask-mysqldb
pip install flask-WTF
pip install passlib

Quick Start

# Clone the repository
git clone https://github.com/yashjhaveri05/OnlineEdSystem.git

Create a file called config.py that looks like

import os

DEBUG = True
TESTING = True
MYSQL_HOST = 'localhost'
MYSQL_USER = 'root'
MYSQL_PASSWORD = os.getenv('MYSQL_PWD')
MYSQL_DB = 'course'
MYSQL_CURSORCLASS = 'DictCursor'
SECRET_KEY = 'your_secret_key'

Go to the directory where you cloned the repository

Run

python app.py

Runs the app in the development mode.

Info

In this website,a user can either signup as a student/teacher and hence access the respective pages when logged in.A Teacher can create,edit,delete and preview the courses they make and hence give access to the students to view and study them.On the other hand,a student can view a list of all the courses that the teacher has created and access any and study from it.They cannot make any changes to the course material.

Mobile Responsive

Overview Of The Website

Home Page

Home

Sign Up Page-Two Types of Users: Either Student/Teacher

Home

Login Page

Home

Teacher Login Dashboard

Home

Teacher Add Course

Home

Teacher View to see number of enrolled students for a particular course

Home

Student Available Courses

Home

Student Enrolled Courses

Home

Course Detail Page

Home

App Info