Open apoorvapendse opened 9 months ago
Hi there, could you explain it in a bit clear manner and in more simple words? I would like to work on it.
Hi @soumytiwari Create a searchpage.ejs file in the views folder and and some css for it in the public folder and make it look something similar to the diagram above
If you have experience with express, you can also add the route that renders searchpage.ejs on the /search route
alright 👍 do we have time limit for the work?
no time limit as such, but the sooner the better :-)
Should i assign you this issue @soumytiwari ?
yeah.. sure!! I'll do it asap 😄
umm.. i have made the search page, using html, css and js (a little..)
like.. see this and tell me more customization you need
Looks good @soumytiwari
How does the form submission data look on this one?
what it does right now is.. 1.) you can type anything in the "search bar" and this search input goes in js 2.) you can choose a platform from another dropdown menu, and an option from the dropdown menu; 3.) the searchinput and platformFilter are printed on the page (via js), when you click the "Search" button
no extra user info, just "platform" and "searchInput" right now goes in js file
Alright, create a PR
Something like this...
Optional
render this for the get req on the /search route and add middleware to check whether user is logged in before letting him access the /search route