Commit graph

30 commits

Author SHA1 Message Date
4caf7479fd Added functional user login 2023-02-26 23:50:13 +08:00
352823a329 Added Redux states for login status and user logged in 2023-02-26 23:21:52 +08:00
61bdec145b Readded Redux to track login state 2023-02-26 22:34:13 +08:00
0daa8cfa72 Polished and added more apis 2023-02-26 22:31:19 +08:00
66c934c34f Dirty fix for userlogin api 2023-02-26 12:08:11 +08:00
836220f557 Dirty fix for User Info api 2023-02-26 12:04:32 +08:00
36f1e3683e Added user info api 2023-02-26 00:22:17 +08:00
5a34617d77 Added login functionality 2023-02-25 23:27:12 +08:00
aea617500c Added buttons to header and added login page 2023-02-25 23:11:14 +08:00
e0bfd0cdd0 Added design and login to header 2023-02-25 22:30:38 +08:00
lemeow125
6a13f07224
Merge pull request #1 from lemeow125/feature/api
Feature/api
2023-02-25 22:04:18 +08:00
02af182539 Removed unused console.log() 2023-02-25 22:03:02 +08:00
028a143427 Removed unused imports 2023-02-25 21:55:58 +08:00
fff01854ce Convert delete and new note into rest query syntax 2023-02-25 21:52:38 +08:00
8153561889 Move back to axios for api 2023-02-25 21:41:13 +08:00
044f45e038 Polished api and moved from axios to fetch 2023-02-25 21:27:26 +08:00
d96c26bc1a Moved fetch query to own function 2023-02-25 21:21:23 +08:00
a7b556d0dd Converted main page to use react query 2023-02-25 21:18:16 +08:00
d12d21624f Added react query client provider to index.tsx 2023-02-25 20:43:31 +08:00
fed73b1964 Rename notemapper to notes for easier recognition 2023-02-25 20:39:01 +08:00
50781689e7 Added timestamp to notes 2023-02-24 22:29:45 +08:00
9920738a33 Polished code and updateed url 2023-02-24 00:12:30 +08:00
26d6b64c4b Made remove button functional and added auto refresh 2023-02-23 23:03:24 +08:00
df0326a768 Fixed components directories 2023-02-23 22:44:54 +08:00
e8150d864f Hotfix to new note 2023-02-23 22:33:40 +08:00
3f5fb0f79e Fixed empty notes prompt not working 2023-02-23 22:29:47 +08:00
ee9ebcb9d9 Added backend fetching and posting 2023-02-22 23:15:35 +08:00
eeaf6a9ee4 Polished pages and components 2023-02-22 20:46:16 +08:00
a984e0e566 Added initial homepage and new note page 2023-02-22 19:56:02 +08:00
fbd09a2c33 Initialize project using Create React App 2023-02-22 18:36:33 +08:00