A simple Node.js app that stores and searches your favorite quotes using Postgres (Neon).
- Add quotes and optional authors
- Search quotes by quote text or author
- Blue themed responsive UI
- Automatic database table creation on startup
- Node.js 24.16.0
- A Neon Postgres database URL
-
Install dependencies:
npm install
-
Copy env file and set your Neon connection string:
cp .env.example .env
-
Edit
.env:DATABASE_URL=your_neon_connection_string PORT=3000
-
Start app:
npm start
-
Open:
- Set environment variable
DATABASE_URLin your hosting panel. - Ensure your Node app startup command points to
server.js. - Set the Node.js runtime version to
24.16.0. - This app uses Neon HTTP driver (
@neondatabase/serverless), which works over HTTPS when outbound5432is blocked.