added login backend
This commit is contained in:
9
server/api/register.post.ts
Normal file
9
server/api/register.post.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { z } from 'zod'
|
||||
|
||||
const bodyPost = z.object({
|
||||
email: z.string().email(),
|
||||
first_name: z.string(),
|
||||
last_name: z.string(),
|
||||
pwd: z.string()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user