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.
Next.js
Connect a Next.js application to Neon
Remix
Connect a Remix application to Neon
Sveltekit
Connect a Sveltekit application to Neon
Need help?
Join our Discord Server to ask questions or see what others are doing with Neon. Users on paid plans can open a support ticket from the console. For more details, see Getting Support.