DEV Community

Cover image for Learning CRUD Operations with NodeJS
Ojerahi Daniel
Ojerahi Daniel

Posted on

Learning CRUD Operations with NodeJS

Task Backend task
I want to share a recent experience I faced while learning crud with nodejs.
I was working on a simple quote generator API, and I wanted to try CRUD operations on it like being able to add new quotes and view the existing quotes. I struggled to understand how to properly handle the requests. After some thinking and research, I finally got the error
I was using app.post to get the requests instead of app.get because the quotes are already stored and they just need to be displayed on the frontend part.

I'm excited to join the HNG Internship program to further develop my backend skills, work on real-world projects, and collaborate with talented individuals.
https://hng.tech/internship
https://hng.tech/hire

stagezero

Top comments (0)