-
DailyCode
Code daily
-
DailyCode
Step 7 - Prettify the signin page
Let’s replace the signup page with a prettier one
export default function Signin() {
return <div className="h-screen flex justify-center flex-col">
<div ...
-
DailyCode
DailyCode
Terms & Conditions
Welcome, if you continue to browse and use this website you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our ...
-
DailyCode
Type inference in zod
When using zod, we’re done runtime validation.
For example, the following code makes sure that the user is sending the right inputs to update their profile information
import { ...
-
DailyCode
Websockets
WebSockets provide a way to establish a persistent, full-duplex communication channel over a single TCP connection between the client (typically a web browser) and the server.
Use Cases for...
-
DailyCode
Copy
Solution
import { PrismaClient } from '@prisma/client/edge'
import { withAccelerate } from '@prisma/extension-accelerate'
import { Hono } from 'hono';
import { sign, verify } from 'hono/jwt'
impo...