nextjs-auth-starter
Version:
CLI tool to set up Next.js authentication with better-auth, PostgreSQL, and Drizzle ORM. Usage: npx nextjs-auth-starter init
24 lines (22 loc) • 531 B
JavaScript
// src/lib/auth-config.ts
function createAuth(config) {
throw new Error(
"This function should not be called directly. It is meant to be copied to your project."
);
}
// src/lib/middleware.ts
function createAuthMiddleware() {
return async function middleware(request) {
throw new Error(
"This function should not be called directly. It is meant to be copied to your project."
);
};
}
// src/lib/db.ts
var db = {};
export {
createAuth,
createAuthMiddleware,
db
};
//# sourceMappingURL=index.mjs.map