Your ClassChat application needs to be connected to a database to function properly.
Create a new PostgreSQL database in your Neon dashboard.
Copy the connection string from your Neon dashboard. It should look like:
postgresql://username:password@host/database?sslmode=requireAdd the connection string as DATABASE_URL in your environment variables:
DATABASE_URL=your_connection_string_hereExecute the SQL files in the lib/ directory to set up your database tables.
Restart your application to apply the new environment variable.