Repository navigation
Add a PostgreSQL Database to a Node.js App on Light Cloud #24
julia-kafarska
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Full tutorial with screenshots: https://blog.light-cloud.com/tutorials/add-postgres-to-nodejs-app
Add PostgreSQL to a Node.js app on Light Cloud: create the database, connect with node-postgres using DATABASE_URL with ?sslmode=require&uselibpqcompat=true, deploy, and save a note.
Level: Beginner · Time: about 15 minutes · Plan: Lite · Stack: Node.js, Express, PostgreSQL, node-postgres
Steps
Source code: https://github.com/light-cloud-com/tutorial-nodejs-api-postgres
Questions, problems with a step, or a screen that no longer matches the console? Reply here. Every tutorial is re-run on the live platform before it is published, and this thread is where fixes get discussed.
All reactions