Team accounts with unlimited members now available to everyone! Invite your teammates and ship faster together, even on the Free Plan.
/Frameworks/React

Connect a React application to Neon

Set up a Neon project in seconds and connect from a React application

React by Facebook is an open-source front-end JavaScript library for building user interfaces based on components.

Neon Postgres should be accessed from the server side in React applications. Using the following React meta-frameworks, you can easily configure a server-side connection to a Neon Postgres database.

React Meta-Frameworks

Find detailed instructions for connecting to Neon from various React meta-frameworks.

Neon Auth

After you connect your database, add managed authentication with Neon Auth. Quick starts are available for supported React meta-frameworks:

For React Router, follow the React Auth quick start.

Need help?

Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.

Was this page helpful?
Edit on GitHub

On this page

Copy neon init command