apoorvapendse / CruSyt

Decode Social Buzz, Drive Informed Decisions through Crucial Insights using Sentiment Analysis.
6 stars 6 forks source link

Add a search page with a search bar at the center and filters for platforms #8

Open apoorvapendse opened 9 months ago

apoorvapendse commented 9 months ago

Something like this...

image

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

soumytiwari commented 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.

apoorvapendse commented 9 months ago

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

soumytiwari commented 9 months ago

alright 👍 do we have time limit for the work?

apoorvapendse commented 9 months ago

no time limit as such, but the sooner the better :-)

apoorvapendse commented 9 months ago

Should i assign you this issue @soumytiwari ?

soumytiwari commented 9 months ago

yeah.. sure!! I'll do it asap 😄

soumytiwari commented 8 months ago

umm.. i have made the search page, using html, css and js (a little..) image like.. see this and tell me more customization you need

apoorvapendse commented 8 months ago

Looks good @soumytiwari

apoorvapendse commented 8 months ago

How does the form submission data look on this one?

soumytiwari commented 8 months ago

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

apoorvapendse commented 8 months ago

Alright, create a PR