technobyte-nitkkr / Blogs

Blogs by Technobyte
0 stars 35 forks source link

[API] GET blog/search/tags=...?time=...?query=... tag2?time=2020-01-01?query=hello #13

Closed Himasnhu-AT closed 2 months ago

Himasnhu-AT commented 4 months ago

Search blog based on a query such as tags, time uploaded, search query string

Debatreya commented 3 months ago

@Ansh-Garg22 --> Ansh Garg

Debatreya commented 3 months ago

2nd Year:

ayush-3107 commented 3 months ago

Hi, I am Ayush Singhal

Ansh-Garg22 commented 2 months ago

Hello @ayush-3107 @ranveer193

We can start working on the blogs issue. Here is the forked repository: https://github.com/Ansh-Garg22/Blogs. Please go through dev-docs.md once.

Please fork this repository into your GitHub account and clone it to VS Code as we discussed in our meeting earlier. Start working on the issue, and if you encounter any difficulties, please reach out to me.

Ansh-Garg22 commented 2 months ago

Any updates? @ranveer193 @ayush-3107

Debatreya commented 2 months ago

Any updates? @ranveer193 @ayush-3107

None of them even forked your repo

Debatreya commented 2 months ago

@Ansh-Garg22 dkh le khud kr skta hain toh, Otherwise mujhe bolna, 1-2 jnrs free hain Ya fer mein hi help kr dunga

Debatreya commented 2 months ago

Just a little brief on this issue.

You will get an object of the query from req.query; { tags: (may not be present, may have multiple tags) null | string | string[] time?: Date query?: string | null (you have to do some splitting and match the words with those present in Blogs DB }

Checkout some good methods of searching..

Debatreya commented 2 months ago

This issue is resolved.

@Himasnhu-AT