As the front end was already created, I needed to look at connecting this to the backend. I broke down the problem into smaller objectives:
- Start a server using Express
- Link the HTML to get and post requests in the backend JavaScript
- Write the user's notes to the server's JSON file with unique IDs
- The post method needs to write the note to the JSON file for retrieval
- The get method needs to retrieve notes from the server for viewing
- The delete method needs to locate and delete specific notes from the server
- I was unable to get the delete function to work.