CodeCourses is an e-learning website that offers articles, courses, quizzes and even chat rooms for instructors and students in various topics. Instructors have a score that is based on their course ratings and contributions. Students have a rank that is based on their score that increases by reading articles, enrolling in courses, taking quizzes, etc. Admins have full control of the website and can remove content they deem inappropriate. The admin profile contains various statistics regarding the website's content and users.
βοΈ Clone the repository by pressing the green button.
βοΈ Once in the folder, type CMD in the address bar.
βοΈ To run the database server:
ββββ- Install xampp https://sourceforge.net/projects/xampp/
ββββ- Run the server with connection parameters:
βββββ - host: 'localhost'
βββββ - user: 'root'
βββββ - password: ""
βββββ - database: 'codecourses'
βββββ - port: 3306
ββββ- Import the file codecourses (1).sql (in Database folder)
Alternatively you can connect to the azure MySQL Database deployment (not stable)
host: 'codecourses.mysql.database.azure.com',
user: 'codecourses@codecourses',
password: '17102002aA@',
database: 'codecourses',
port: 3306
βοΈ To run the backend server:
ββββ- Type cd Backend
ββββ- Type npm i
ββββ- Type nodemon app.js
βοΈ To run the frontend server:
ββββ- Return to the root folder, then type cd frontend
ββββ- Type npm i
ββββ- Type npm start
βοΈ Open the browser, and navigate to http://localhost:3000 or try the deployed github page https://aliaagheisx.github.io/Code-Courses/