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
|
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
|
19db116ec4
|
get user from zod usermodel parsed
|
2022-08-21 22:02:08 +02:00 |
Guillaume Dorce
|
13bba32a8d
|
add models dir and update zod user models
|
2022-08-21 16:06:58 +02:00 |
Guillaume Dorce
|
0e938ab0f0
|
change to controller model
|
2022-08-19 17:40:09 +02:00 |
Guillaume Dorce
|
6d4822e50d
|
restructurize code in api and controller folder
|
2022-08-19 16:06:31 +02:00 |
Guillaume Dorce
|
46f1d97c23
|
implement base api structure with express
|
2022-08-19 12:05:53 +02:00 |