Closed Marijnone closed 6 years ago
Good job ๐
slug
package, but don't use itname
attribute on the text input for the name, which also causes the form handler code to error on creation of a new item..use('*')
at the end of the "express stack" to create a global 404form
could (IMO) both mean 'render form', or 'send form', or 'process form', or anything regarding a form really.add
function is all over the place, makes it a bit hard to readremove
function only sets the status to 204 on a successful delete, but doesn't respond to the client. Therefore, the request times out
Shelter
Learned alot about working with express, was a very good exercise and fun project. but i always find it very hard to start and write the full code myself but i've found alot of help in the sheets. And asking fellow students. Made it all the way to the form function and got that working which is pretty cool, spent alot of time figuring out the data input with body-parser.
learned alot see the commits for info
My Shelter