Assessment 4
NB – DON'T USE CHATGPT
(ENDPOINTS WITH DATABASE)
Create notebook Endpoints to do the following
Create a new note
Fetch all notes
Get a single note by its ID
Update a note by its ID
Delete a note by its ID
Each note should have the following properties:
ID (auto-generated or unique identifier)
Title (a short title for the note)
Content (the actual content of the note)
CreatedAt (timestamp of when the note was created)