-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notes.txt
41 lines (33 loc) · 1.23 KB
/
Notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Workflow for Version II:
2. Implementation -> Update Note (Complete Implementation)
3. Implement Settings Component
a. Delete User -> Delete User
4. Create Note (WorkSpace Bug Fixes
a. Add Glitch Effect To Create Note
b. Change the alert on adding note to a seperate alert tag/ modal / div / login alert.
c. Fix CSS on create Note Page.
5. Dashboard -> Recent Notes OnClick -> push it to the search form.
6. Implement Infinite Scrolling
Important Fetch requestOptions Snippet:
const requestOptions = {
method: "POST",
headers: new Headers({
// prettier-ignore
"Authorization": token,
"Content-Type": "application/json",
}),
body: JSON.stringify({ userId, title, description }),
};
// console.log(requestOptions);
const response = await fetch(
"https://cybernotes-backend.onrender.com/v1/notes/createNote/",
requestOptions
);
const data = await response.json();
// Pagination
const page = 1;
const itemsPerPage = 10;
const result = await student.find().skip(page * itemsPerPage).limit(itemsPerPage);
>> modal
https://codepen.io/vivekgondaliya/pen/QPBmbq
https://codepen.io/brissmyr/pen/nLmreZ