+ 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/
5 Respostas
+ 5
Yes you need backend. But stick to Node.js then you can continue using JavaScript.
+ 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
+ 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
+ 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.
0
You need a Backend language and a DB , for example php and mysql.