Open redex-ai opened 11 months ago
The task involves adding 50 more hardcoded notes with fake random data to the frontend of the application. The 'data.js' file in the 'mynotes/src/assets' directory will be updated with new note entries. The 'getNotes' view function in 'api/views.py' will be modified to return these notes. Finally, the 'NotesListPage' component in 'mynotes/src/pages' will be checked to ensure it can render the new list of notes.
Add 50 more hardcoded notes to the existing array of notes with fake random data for 'id', 'body', and 'updated' fields.
Modify the 'getNotes' view function to return the hardcoded list of notes including the new ones added in 'mynotes/src/assets/data.js'.
Ensure that the 'NotesListPage' component is capable of rendering the updated list of notes, including the new hardcoded ones when the server loads.
PULL REQUEST : https://github.com/redex-ai/django-notes-app/pull/8
Generate 50 more hardcoded tasks with fake random data and display it on the frontend when the server loads.