Skip to content

Commit 3045aec

Browse files
Source
0 parents  commit 3045aec

33 files changed

+9452
-0
lines changed

.Prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"arrowParens": "always",
3+
"singleQuote": true
4+
}
5+

.eslintrc.cjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
env: { browser: true, es2020: true },
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:react-hooks/recommended',
7+
],
8+
parser: '@typescript-eslint/parser',
9+
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
10+
plugins: ['react-refresh'],
11+
rules: {
12+
'react-refresh/only-export-components': 'warn',
13+
},
14+
}

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

db.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
{
2+
3+
"course": [
4+
{
5+
"course_id": 1,
6+
"course_name": "Introduction to Programming",
7+
"instructor": "John Smith",
8+
"description": "Learn the fundamentals of programming with this introductory course.",
9+
"duration": "8 weeks",
10+
"price": 49.99
11+
},
12+
{
13+
"course_id": 2,
14+
"course_name": "Web Development Bootcamp",
15+
"instructor": "Sarah Johnson",
16+
"description": "Become a full-stack web developer in this intensive bootcamp.",
17+
"duration": "12 weeks",
18+
"price": 199.99
19+
},
20+
{
21+
"course_id": 3,
22+
"course_name": "Data Science Essentials",
23+
"instructor": "David Miller",
24+
"description": "Explore the world of data science and machine learning.",
25+
"duration": "10 weeks",
26+
"price": 79.99
27+
},
28+
{
29+
"course_id": 4,
30+
"course_name": "Graphic Design Fundamentals",
31+
"instructor": "Emily Brown",
32+
"description": "Master the basics of graphic design and create stunning visuals.",
33+
"duration": "6 weeks",
34+
"price": 59.99
35+
},
36+
{
37+
"course_id": 5,
38+
"course_name": "Digital Marketing Mastery",
39+
"instructor": "Michael Davis",
40+
"description": "Learn how to market products and services online effectively.",
41+
"duration": "8 weeks",
42+
"price": 69.99
43+
},
44+
{
45+
"course_id": 6,
46+
"course_name": "Introduction to Artificial Intelligence",
47+
"instructor": "Linda White",
48+
"description": "Discover the principles of AI and its applications.",
49+
"duration": "9 weeks",
50+
"price": 89.99
51+
},
52+
{
53+
"course_id": 7,
54+
"course_name": "Mobile App Development",
55+
"instructor": "Kevin Turner",
56+
"description": "Build mobile apps for iOS and Android platforms.",
57+
"duration": "10 weeks",
58+
"price": 119.99
59+
},
60+
{
61+
"course_id": 8,
62+
"course_name": "Business Finance for Beginners",
63+
"instructor": "Amy Lee",
64+
"description": "Learn the basics of finance and financial management.",
65+
"duration": "7 weeks",
66+
"price": 49.99
67+
},
68+
{
69+
"course_id": 9,
70+
"course_name": "Photography Fundamentals",
71+
"instructor": "Mark Anderson",
72+
"description": "Capture stunning photos with your camera or smartphone.",
73+
"duration": "6 weeks",
74+
"price": 59.99
75+
},
76+
{
77+
"course_id": 10,
78+
"course_name": "Entrepreneurship 101",
79+
"instructor": "Jennifer Carter",
80+
"description": "Start and grow your own business with expert guidance.",
81+
"duration": "8 weeks",
82+
"price": 79.99
83+
},
84+
{
85+
"course_id": 11,
86+
"course_name": "Advanced Excel Techniques",
87+
"instructor": "Robert Green",
88+
"description": "Master advanced Excel functions and data analysis.",
89+
"duration": "6 weeks",
90+
"price": 69.99
91+
},
92+
{
93+
"course_id": 12,
94+
"course_name": "Java Programming for Beginners",
95+
"instructor": "Daniel Wilson",
96+
"description": "Learn Java programming from scratch.",
97+
"duration": "9 weeks",
98+
"price": 79.99
99+
},
100+
{
101+
"course_id": 13,
102+
"course_name": "Creative Writing Workshop",
103+
"instructor": "Samantha Clark",
104+
"description": "Unlock your writing potential with creative writing exercises.",
105+
"duration": "8 weeks",
106+
"price": 49.99
107+
},
108+
{
109+
"course_id": 14,
110+
"course_name": "UX/UI Design Principles",
111+
"instructor": "Alex Martinez",
112+
"description": "Design user-friendly interfaces and enhance user experiences.",
113+
"duration": "7 weeks",
114+
"price": 69.99
115+
},
116+
{
117+
"course_id": 15,
118+
"course_name": "Python for Data Analysis",
119+
"instructor": "Karen Brown",
120+
"description": "Use Python for data manipulation and analysis.",
121+
"duration": "10 weeks",
122+
"price": 89.99
123+
},
124+
{
125+
"course_id": 16,
126+
"course_name": "Video Editing Essentials",
127+
"instructor": "Matthew Hall",
128+
"description": "Edit and enhance videos for various platforms.",
129+
"duration": "7 weeks",
130+
"price": 59.99
131+
},
132+
{
133+
"course_id": 17,
134+
"course_name": "Social Media Marketing Strategies",
135+
"instructor": "Jessica Adams",
136+
"description": "Promote businesses on social media effectively.",
137+
"duration": "8 weeks",
138+
"price": 69.99
139+
},
140+
{
141+
"course_id": 18,
142+
"course_name": "C++ Programming Fundamentals",
143+
"instructor": "Richard Turner",
144+
"description": "Learn the basics of C++ programming language.",
145+
"duration": "9 weeks",
146+
"price": 79.99
147+
},
148+
{
149+
"course_id": 19,
150+
"course_name": "Art History and Appreciation",
151+
"instructor": "Olivia Parker",
152+
"description": "Explore the history of art and its significance.",
153+
"duration": "6 weeks",
154+
"price": 49.99
155+
},
156+
{
157+
"course_id": 20,
158+
"course_name": "Introduction to Cybersecurity",
159+
"instructor": "Andrew Scott",
160+
"description": "Learn about cybersecurity threats and protection measures.",
161+
"duration": "8 weeks",
162+
"price": 69.99
163+
}
164+
]
165+
}

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en" class="light">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body class="capitalize text-black dark:text-white bg-white dark:bg-black">
10+
<div id="root"></div>
11+
<div id="modal-root"></div>
12+
<script type="module" src="/src/main.tsx"></script>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)