From the course: Databases for Node.js Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Prepare the item management system

Prepare the item management system

From the course: Databases for Node.js Developers

Start my 1-month free trial

Prepare the item management system

- Everything you see in the browser of our shopping application is already prepared. So if I click on manage items I get to my item form that we saw already and there I can try creating a new item. So I put in an sku, item number, some item name, let's say it socks. And let's say they cost 12.99. When you hit submit, we see that I get the not implemented error. So something is missing on the backend that we have to implement it now. So I'm heading into (mumbles) to decode and there in my shop application I open server and this is the route and it's the admin area. And there it's the item. And there the index. And here you see that in this file a lot is still commented out because these are the things that will only work when we implemented our database logic. So let's remove the commented out stuff. And also this return statement here from the first route, starting in line six. So the return statement can go away.…

Contents