Jessica Lee
💡
@jessdev
Joined May 2025
3
Posts
1
Followers
3
Following
91
Likes
Authentication doesn't have to be complicated! Next-Auth makes it so easy to add social login to your apps.
TYPESCRIPT
1import NextAuth from 'next-auth'
2import GoogleProvider from 'next-auth/providers/google'
3
4export default NextAuth({
5 providers: [
6 GoogleProvider({
7 clientId: process.env.GOOGLE_CLIENT_ID,
8 clientSecret: process.env.GOOGLE_CLIENT_SECRET,
9 })
10 ]
11})
authnextauthsecurity
Quick tip: Always use TypeScript strict mode in your projects. It catches so many bugs before they reach production! 🐛➡️✅
typescripttipsdevelopment
Just deployed my first full-stack app! 🎉 Built with Next.js, PostgreSQL, and Drizzle ORM. The learning curve was steep but totally worth it!
TYPESCRIPT
1// Simple Next.js API route
2export async function GET() {
3 const users = await db.select().from(usersTable);
4 return Response.json(users);
5}
nextjspostgresqldrizzlefullstack