diff --git a/README.md b/README.md deleted file mode 100644 index b38dbd20..00000000 --- a/README.md +++ /dev/null @@ -1,102 +0,0 @@ -# Learning Managment System - -## Step 1: Project Setup - -### Create a new directory for your project and navigate into it. -```bash -mkdir learning-management-app -cd learning-management-app -``` -### Initialize a new Node.js project. -```bash -npm init -y -``` -### Install necessary dependencies. -```bash -npm install express mysql ejs bcryptjs express-session express-validator -``` - -## Step 2: Set up the Backend - -### Create a `server.js` file in your project directory. - -### Create a MySQL database named `learning_management` - -#### Create users table -```bash --- Create users table -CREATE TABLE users ( - id INT AUTO_INCREMENT PRIMARY KEY, - username VARCHAR(255) UNIQUE, - password VARCHAR(255), - email VARCHAR(255) UNIQUE, - full_name VARCHAR(255) -); -``` - -#### Create courses table -```bash --- Create courses table -CREATE TABLE courses ( - id INT AUTO_INCREMENT PRIMARY KEY, - name VARCHAR(255) -); - --- Insert sample data into courses table -INSERT INTO courses (name) VALUES -('Introduction to HTML'), -('CSS Fundamentals'), -('JavaScript Basics'); -``` - -#### Create leaderboard table -```bash --- Create leaderboard table -CREATE TABLE leaderboard ( - id INT AUTO_INCREMENT PRIMARY KEY, - name VARCHAR(255), - score INT -); - --- Insert sample data into leaderboard table -INSERT INTO leaderboard (name, score) VALUES -('John Doe', 100), -('Jane Smith', 90), -('Michael Brown', 85), -('Emily Jones', 80); -``` - -### Run the server. -```bash -node server.js -``` - -## Step 3: Frontend Setup - -### Create an `index.html` file for the frontend. - -### Create a `course-content.html` file for the course content. - -### Create a `leader-board.html` file for the leader board. - -### Create a `style.css` file to style your HTML. - -### Create a `script.js` file to handle frontend interactions. - -## Step 4: Testing -Open your web browser and navigate to http://localhost:3000. - -# Hackathon Instructions -Finish up the project by: -1. creating functionality for the logged in user to select their preferred courses. -2. store the selection in the database -3. create a page where the selected courses for each specific logged in user is displayed. - -## Submission Guidelines -Fork this repository and clone it to your local machine. -Create a new branch with your GitHub username (git checkout -b username). -Complete the tasks. -Commit your changes and push them to your forked repository. -Submit a pull request to the main repository for review. - -Happy hacking! 🚀 diff --git a/course-content.html b/course-content.html deleted file mode 100644 index d9b262e7..00000000 --- a/course-content.html +++ /dev/null @@ -1,30 +0,0 @@ - - -
- - -This course covers the principles and practices of software design, including design patterns, object-oriented design, and software architecture.
+ + +In this module, you will learn about the basics of software design, including the importance of design patterns and software architecture.
+
+ This module covers object-oriented design principles, such as encapsulation, inheritance, and polymorphism.
+
+ Learn about various design patterns, including Singleton, Factory, and Observer patterns, and how to implement them.
+
+ This course covers the principles and practices of software design, including design patterns, object-oriented design, and software architecture.
+ +