- Start the server
cd server
npm install
npm run dev
- Start the client
cd client
npm install
npm run dev
- Start flask server
cd ml
python -m venv venv # use python 3.8
source venv/bin/activate
pip install -r requirements.txt
python app.py
-
Have MongoDB running on your local machine
-
Open your browser and go to
http://localhost:5173
docker-compose -f docker-compose.dev.yml up
-
Create a user with the username
admin
and the passwordadmin
-
Login with the user
admin
to access admin portal
LOGIN: "login",
OPENED_COURSE: "opened_course",
CLICK: "click",
OPENED_MODULE: "opened_module",
MUTE: "mute",
UNMUTE: "unmute",
PLAY: "play",
PAUSE: "pause",
SUBMIT_QUIZ: "submit_quiz",
COURSE_REGISTRATION: "course_registration",
COURSE_STARTED: "course_started",
LOGOUT: "logout",