Sunday, 12 March 2017

Set parameter for URL in html and use parameter in Node.js Express for routing

I very much new to Node JS and Express Framework & mongodb. I am working on a website which has multiple categories and when we click on category it goes to a view, where based on the category clicked, data gets loaded in the view.

please check the link for website here.

I am looking help for navbar links eg. Montessori Premium->Toddler Material

As these are static links I can not figure how to pass any parameter or url format for this.

I have done the routing for individual products as they have ids coming from database so I am using that id in url.

Thanks in advance.



via Prem Chand

No comments:

Post a Comment