React is an open-source JavaScript library for building component-based user interfaces.
Connect to Lakebase Postgres from the server side of a React application, never from the browser. The following React frameworks each have a guide for configuring a server-side connection.
React frameworks
TanStack Start
Connect a TanStack Start application to Neon
Next.js
Connect a Next.js application to Neon
React Router
Connect a React Router application to Neon
Remix
Connect a Remix application to Neon
Managed Better Auth
After you connect your database, add managed authentication with Managed Better Auth. Quick starts are available for these React frameworks:
Next.js
Set up Managed Better Auth with Next.js
TanStack Router
Set up Managed Better Auth with TanStack Router
For React Router, follow the React Auth quick start.
Next steps
- Add Object Storage: S3-compatible file storage that branches with your database
- Deploy a Function: Run backend compute next to your database, no separate hosting needed
- Call an LLM with AI Gateway: Access foundation models from Anthropic, OpenAI, Google, and more with one credential
- Realtime: Build realtime React apps on Neon with end-to-end reactivity and type safety
Need help?
Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.








