UNPKG

create-nxtstart-app

Version:

Nxtstart is an easy to use, interactive CLI tool to bootstrap your next web-based project. The template is aimed at students to get an easy access to web development with example implementations. It is also useful for experts to speed up prototyping.

17 lines (15 loc) 405 B
import { betterAuth } from 'better-auth' import Database from 'better-sqlite3' export const auth = betterAuth({ database: new Database('./auth.db'), // Configure one or more authentication providers socialProviders: { github: { clientId: process.env.GITHUB_ID as string, clientSecret: process.env.GITHUB_SECRET as string, }, }, emailAndPassword: { enabled: true, } })