Created on 26th May 2022
•
Users can create and write and read the blogs from / on our website. Dynamically create routes and display the data based upon the GET method or else take the data based upon the POST method. As soon as user wants to read any particular blog which they find interesting a new route then and there will be created and a GET request will be made by the browser to our server and then based upon the request body that which blog they want to see, that blog will be displayed on that route. In future database will be added to this.
Dynamically creating the routes is not as easy as anyhone thinks it like and you may end up in many different types of syntax or logical errors which I also landed on, but I solved all the errors so by doing this I believe one can have a good grasp over these small small things. Also mongodb is not being installed on my laptop so it was restricting me to add the database section in this project, so I decided to contact senior and he suggested mongodb Atlas. So, currently it's in progress .....
Technologies used