How to make a search Engine | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to make a search Engine

Hello guys I have learnt HTML/CSS/JS and Jquery from here also bootstrap I decided to make a site a gaming site I also created a search bar there but I want to do something like when person searches a game, the game should be appeared like on other gaming sites, is it possible to make it with these languages? here's my site: https://la-rp1.000webhostapp.com/

17th Jul 2018, 6:45 PM
Ali(Programmer)
Ali(Programmer) - avatar
5 Answers
+ 5
Yes you need backend. But stick to Node.js then you can continue using JavaScript.
18th Jul 2018, 10:49 AM
Ryan Els
Ryan Els - avatar
+ 4
You don't need server side at all if you don't store your data. You need a web scraper if API is not available. Python would be best for this but it's easy and possible with javascript also. Take a look at mine. https://code.sololearn.com/WJSMYYMw9jcj
18th Jul 2018, 7:20 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Then you need to make an API see this Code to learn how to make an API https://code.sololearn.com/WRZb8VdMFOj5/?ref=app
17th Jul 2018, 8:07 PM
Femi
Femi - avatar
+ 1
As already stated in the comments, you will need some kind of backend server side to query the search term. For PHP, you could post the search term and then run a SELECT query where columnName LIKE :searchTerm. Or if you wanted something outside of server side, so client side, then you could use this https://code.sololearn.com/WmzN0JwMcZ5N/#html You could then list all your game names and then link each one to the specific game. This will of course mean any new game you add will need to be added to the search area. This is not the correct way of doing a search but may help you out if you don't use server side.
18th Jul 2018, 10:00 AM
ihateonions
0
You need a Backend language and a DB , for example php and mysql.
18th Jul 2018, 2:18 AM
Juan Giovanni Restrepo Jiménez
Juan Giovanni Restrepo Jiménez - avatar