Neon is a cloud-native serverless Postgres database which enables you spin up a database instance quickly and connect with it has features like autoscaling, branching, and bottomless storage with its architecture that support separate compute and storage.
Get started with Neon and Auth0.
This app is a Node.js backend API where node-postgres is used to query the database in Neon and returning the data as JSON.
Test this web app: https://neondb.onrender.com/
Clone the repo and install dependencies
$ git clone https://github.com/Terieyenike/neondb-with-auth0.git
$ cd neondb-with-auth0
$ npm install
Head over to your dashboard in Neon and copy-paste the connection string and replace the dummy data with yours in .env.local
$ npm run dev
- Express
- node-postgres
- Embedded JavaScript (EJS)
- Neon
- Auth0