Anish sharmalearneasyway.hashnode.dev·Jan 7, 2025Sign-up Form In NextJsimport connect from "@/config/config"; import User from "@/models/user"; import { NextResponse } from "next/server"; import bcryptjs from "bcryptjs"; connect(); export async function POST(request) { try { // Parse request body c...sign up page nextjs