Hi, there!
I have a school managing system CMS with Node.js, MongoDB and Mongoose. This site has no registration so everyone can apply to courses. The person applying give personal data push submit and the data given goes to the admin page.
My goal is the find a way to keep track where is the student process at. The data is being rendered in a table and that table has a column where you can change the status: 'approved', 'denied', and 'in progress'. The model schema for it is set to 'default: 'in progress'.
What I want to do is to put three checkboxes in the admin table and if I check for example 'denied' the data is changed and save in the database as well from the default 'in progress' to 'denied'.
I tried to find a solution in Mongoose documentation but nothing came up and I am very new to Node.
Can any of suggest a method how to approach this problem?
Thank you!
Aucun commentaire:
Enregistrer un commentaire