Tech used: HTML, CSS, JavaScript, Node.js, Express, MongoDB, EJS
Users are able to keep track of HOD characters by submitting the form. When the form is submitted a POST request is sent with all the information from the form. The character details are stored in MongoDB and then rendered using EJS. Users are able to remove characters by selecting the trash can icon. Users can also update any specific field on any character by going to the form, adding the character name and any field they want to update.
The most difficult part of this project was allowing the user to update a character. I was able to accomplish this by having the user enter the character's name and on the backend removing any empty strings that came with the request.body.
- Clone repo
- run
npm install
- run
npm run dev
- Navigate to
localhost:8000