names do not match, in server/routes/record.js, within recordRoutes, names do not match names from client side, it should be
let myobj = {
person_name: req.body.name,
person_position: req.body.position,
person_level: req.body.level,
};
delete does not refresh the page with new records because it is not within a form. A form should be added.
names do not match, in server/routes/record.js, within recordRoutes, names do not match names from client side, it should be
let myobj = { person_name: req.body.name, person_position: req.body.position, person_level: req.body.level, };
delete does not refresh the page with new records because it is not within a form. A form should be added.