Skip to content

Commit 94a21e1

Browse files
committed
added more courses without lectures
1 parent b236c0e commit 94a21e1

File tree

3 files changed

+126
-4
lines changed

3 files changed

+126
-4
lines changed

data.py

Lines changed: 101 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
}
2525
]
2626
ruby = {
27-
'courseName': 'Ruby',#used on search results
27+
'courseName': 'Ruby',#used on search results & link route
2828
'name': 'Ruby Programming',
29-
'logo': 'ruby-plain',
29+
'logo': 'ruby-plain', #used in devicon icon css library
3030
'difficulty': 'Advance',
3131
'duration': '2 weeks',
3232
'rating': '4.5',
@@ -136,3 +136,102 @@
136136
'description': 'Learn the basics of Angular for front-end web development.'
137137
}
138138

139+
PHP = {
140+
'courseName': 'PHP',#used on search results
141+
'name': 'PHP Programming',
142+
'logo': 'php-plain',
143+
'difficulty': 'Intermediate',
144+
'duration': '4 weeks',
145+
'rating': '4.6',
146+
'price': '$12',
147+
'imageName': 'popular-03.jpg',
148+
'description': 'Learn PHP scripting language for web development and server-side scripting.'
149+
}
150+
Swift = {
151+
'courseName': 'Swift',#used on search results
152+
'name': 'Swift Programming',
153+
'logo': 'swift-plain',
154+
'difficulty': 'Beginner',
155+
'duration': '2 weeks',
156+
'rating': '4.8',
157+
'price': '$9',
158+
'imageName': 'popular-02.jpg',
159+
'description': 'Get started with Swift programming language for iOS and macOS app development.'
160+
}
161+
SQL = {
162+
'courseName': 'SQL',#used on search results
163+
'name': 'SQL Fundamentals',
164+
'logo': 'mysql-plain',
165+
'difficulty': 'Beginner',
166+
'duration': '3 weeks',
167+
'rating': '4.7',
168+
'price': '$7',
169+
'imageName': 'popular-01.jpg',
170+
'description': 'Learn the basics of SQL for managing and querying databases.'
171+
}
172+
NodeJS = {
173+
'courseName': 'NodeJS',#used on search results
174+
'name': 'Node.js Development',
175+
'logo': 'nodejs-plain',
176+
'difficulty': 'Intermediate',
177+
'duration': '2 weeks',
178+
'rating': '4.9',
179+
'price': '$10',
180+
'imageName': 'popular-04.jpg',
181+
'description': 'Build scalable network applications using Node.js runtime environment.'
182+
}
183+
Rails = {
184+
'courseName': 'RubyOnRails',#used on search results
185+
'name': 'Ruby on Rails Development',
186+
'logo': 'rails-plain',
187+
'difficulty': 'Intermediate',
188+
'duration': '4 weeks',
189+
'rating': '4.5',
190+
'price': '$15',
191+
'imageName': 'popular-03.jpg',
192+
'description': 'Learn web development with the Ruby on Rails framework.'
193+
}
194+
VueJS = {
195+
'courseName': 'VueJS',#used on search results
196+
'name': 'Vue.js Essentials',
197+
'logo': 'vuejs-plain',
198+
'difficulty': 'Beginner',
199+
'duration': '1 week',
200+
'rating': '4.7',
201+
'price': '$8',
202+
'imageName': 'popular-02.jpg',
203+
'description': 'Introduction to Vue.js for building interactive user interfaces.'
204+
}
205+
DataScience = {
206+
'courseName': 'DataScience',#used on search results
207+
'name': 'Data Science with Python',
208+
'logo': 'python-plain',
209+
'difficulty': 'Intermediate',
210+
'duration': '6 weeks',
211+
'rating': '4.8',
212+
'price': '$20',
213+
'imageName': 'popular-01.jpg',
214+
'description': 'Explore data analysis and machine learning using Python.'
215+
}
216+
Android = {
217+
'courseName': 'Android',#used on search results
218+
'name': 'Android App Development',
219+
'logo': 'android-plain',
220+
'difficulty': 'Intermediate',
221+
'duration': '5 weeks',
222+
'rating': '4.7',
223+
'price': '$18',
224+
'imageName': 'popular-03.jpg',
225+
'description': 'Build mobile apps for the Android platform using Java and Android Studio.'
226+
}
227+
Cybersecurity = {
228+
'courseName': 'Cybersecurity',#used on search results
229+
'name': 'Cybersecurity Fundamentals',
230+
'logo': 'security-plain',
231+
'difficulty': 'Beginner',
232+
'duration': '2 weeks',
233+
'rating': '4.5',
234+
'price': '$9',
235+
'imageName': 'popular-02.jpg',
236+
'description': 'Introduction to cybersecurity principles and practices.'
237+
}

menuData.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,17 @@
1414
data.Django, #lecture added
1515
data.Python, #lecture added
1616
data.HTML, #lecture added
17-
data.Angular
17+
data.Angular,
18+
data.Android,
19+
data.NodeJS,
20+
data.SQL,
21+
data.PHP,
22+
data.Rails,
23+
data.VueJS,
24+
data.DataScience,
25+
data.Cybersecurity,
26+
data.Swift,
27+
data.NodeJS,
28+
data.ruby
29+
1830
]

routes/browse_routes.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@
1414
'Django': data.Django,
1515
'Python': data.Python,
1616
'HTML': data.HTML,
17-
'Angular': data.Angular
17+
'Angular': data.Angular,
18+
'Android': data.Android,
19+
'NodeJS': data.NodeJS,
20+
'SQL': data.SQL,
21+
'PHP': data.PHP,
22+
'RubyOnRails': data.Rails,
23+
'VueJS': data.VueJS,
24+
'DataScience': data.DataScience,
25+
'Cybersecurity': data.Cybersecurity,
26+
'Swift': data.Swift,
27+
'Ruby': data.ruby,
28+
1829
# Add more courses here as needed
1930
}
2031

0 commit comments

Comments
 (0)