Guillaume Dorce
|
bcee6a0de1
|
rename file
|
2022-09-28 15:21:20 +02:00 |
Guillaume Dorce
|
67c5edd6cb
|
add message controller to wrap methods
|
2022-09-28 15:09:40 +02:00 |
Guillaume Dorce
|
7fa328d1f2
|
add NewMssage and make layout
|
2022-09-24 16:27:21 +02:00 |
Guillaume Dorce
|
c42cbf6b76
|
redirect based on cookie
|
2022-09-16 19:20:54 +02:00 |
Guillaume Dorce
|
af82736c1e
|
message like
|
2022-09-16 17:47:04 +02:00 |
Guillaume Dorce
|
92e8a4cccb
|
sticky header and add image to message
|
2022-09-16 17:17:56 +02:00 |
Guillaume Dorce
|
871ffe8462
|
add avatar from gravatar or create avatar based on initials
|
2022-09-16 16:45:00 +02:00 |
Guillaume Dorce
|
05c65f172a
|
create base Message component and add react icons
|
2022-09-16 15:36:11 +02:00 |
Guillaume Dorce
|
a0797c7e59
|
auth
|
2022-09-16 14:38:29 +02:00 |
Guillaume Dorce
|
9b3381bfe6
|
use window location to reload
|
2022-09-09 17:42:24 +02:00 |
Guillaume Dorce
|
dc3fd4e474
|
display user name in header
|
2022-09-09 16:53:46 +02:00 |
Guillaume Dorce
|
279a866812
|
fix redir depending on auth state
|
2022-09-09 15:48:32 +02:00 |
Guillaume Dorce
|
e3720181f8
|
check auth and redirect to login or home
|
2022-09-09 14:18:46 +02:00 |
Guillaume Dorce
|
8f0a604042
|
restructurize app and add header component
|
2022-09-09 12:08:15 +02:00 |
Guillaume Dorce
|
ba0d353588
|
add me route to get user info
|
2022-09-09 12:07:38 +02:00 |
Guillaume Dorce
|
659dc79c69
|
set token expiration and fix redirect
|
2022-09-09 10:20:24 +02:00 |
Guillaume Dorce
|
c2d96e6159
|
store token in cookie and redirect if token exist
|
2022-09-09 10:06:27 +02:00 |
Guillaume Dorce
|
173854a896
|
update readme
|
2022-09-09 08:58:50 +02:00 |
Guillaume Dorce
|
fcbb580628
|
alert token when connected using useQueryData
|
2022-09-03 15:56:01 +02:00 |
Guillaume Dorce
|
1b819b7b21
|
successful login with react query
|
2022-09-02 19:37:33 +02:00 |
Guillaume Dorce
|
e0939994b8
|
attempt to use react query
|
2022-09-02 17:53:43 +02:00 |
Guillaume Dorce
|
30076c8d3e
|
use tailwind and create login and signup
|
2022-09-02 16:58:59 +02:00 |
Guillaume Dorce
|
293a1b0659
|
base routing and add aliases
|
2022-09-02 12:10:16 +02:00 |
Guillaume Dorce
|
6b79e36c98
|
replace file with url when sending post to client
|
2022-09-02 10:34:50 +02:00 |
Guillaume Dorce
|
b3cdc9f518
|
store file with uuid and store only name in db
|
2022-09-02 10:18:08 +02:00 |
Guillaume Dorce
|
6716937735
|
serve public files
|
2022-09-02 09:58:41 +02:00 |
Guillaume Dorce
|
f8466fb261
|
fix problem with multer
|
2022-08-27 17:05:38 +02:00 |
Guillaume Dorce
|
e5ba280381
|
install multer but i will change to formidable or busboy
|
2022-08-26 17:43:02 +02:00 |
Guillaume Dorce
|
93ace4d1f6
|
add parameter for db token checking
|
2022-08-26 15:53:17 +02:00 |
Guillaume Dorce
|
0c4ba1ea77
|
delete expired tokens every minute
|
2022-08-26 15:42:01 +02:00 |
Guillaume Dorce
|
9c6654182b
|
reject request if token not in db
|
2022-08-26 15:14:31 +02:00 |
Guillaume Dorce
|
c2e4aacb28
|
save token in db when generated
|
2022-08-26 15:00:24 +02:00 |
Guillaume Dorce
|
3261158588
|
reject posts route if token is invalid and send one on login
|
2022-08-26 12:24:38 +02:00 |
Guillaume Dorce
|
ece8da877a
|
add env var checking
|
2022-08-26 09:57:34 +02:00 |
Guillaume Dorce
|
001cce5374
|
like and unlike post
|
2022-08-25 18:03:06 +02:00 |
Guillaume Dorce
|
9e5dc4a740
|
add deletePost route
|
2022-08-25 15:59:40 +02:00 |
Guillaume Dorce
|
65b5409b0b
|
rename api routes files to clarify
|
2022-08-25 15:50:58 +02:00 |
Guillaume Dorce
|
c1a0ea3aef
|
remove title from post because i'm dumb
|
2022-08-25 15:47:06 +02:00 |
Guillaume Dorce
|
7364326918
|
typesafe post edit with author checking
|
2022-08-25 15:22:00 +02:00 |
Guillaume Dorce
|
a3004431fd
|
convert exclude to arrow function
|
2022-08-25 15:08:45 +02:00 |
Guillaume Dorce
|
f66befd0c7
|
include author in posts and exclude password with typesafe function
|
2022-08-25 15:06:33 +02:00 |
Guillaume Dorce
|
5dd34edbe1
|
create post
|
2022-08-25 14:26:50 +02:00 |
Guillaume Dorce
|
5bcd23b3d3
|
get all posts
|
2022-08-25 12:26:00 +02:00 |
Guillaume Dorce
|
b7966be9ea
|
send error if user already exist
|
2022-08-25 12:13:03 +02:00 |
Guillaume Dorce
|
431a5efdbb
|
update models
|
2022-08-25 12:12:41 +02:00 |
Guillaume Dorce
|
038015136f
|
change db schema to camel case
|
2022-08-25 12:12:20 +02:00 |
Guillaume Dorce
|
19db116ec4
|
get user from zod usermodel parsed
|
2022-08-21 22:02:08 +02:00 |
Guillaume Dorce
|
c8f242705f
|
setup proxy for vite during developement
|
2022-08-21 18:59:36 +02:00 |
Guillaume Dorce
|
13bba32a8d
|
add models dir and update zod user models
|
2022-08-21 16:06:58 +02:00 |
Guillaume Dorce
|
9eff4d2293
|
fix problem with user roleId
|
2022-08-19 20:18:05 +02:00 |