Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Nephew Jonathan
Posts
Comments
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
thanks all
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
finally got the damn thing working
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
i bet the issue is that I was using the database port in
index.ts
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
oh
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
added a bunch of extra service variables to try and call the pool
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
awright lessee
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
okay so
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
in the service...
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
i can add a connection of sorts as a service variable
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
oh right uh
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
which gets its stuff from the top directory, and runs
npm start
as its start command
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
okay killed one of my services and now have only postgres and a single service
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
hmm
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
but doing so doesn't work for
index.ts
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
but still
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
i mean, i can run
npx tsc
on each of the TS files in there
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
can I run
../src/ tsx -w
as a build command in the backend and then set it to be calling its code from /dist/
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
so do I need to do like
698 replies
R
Railway
•
Created by Nephew Jonathan on 1/17/2024 in
#✋|help
trying to connect to postgres w/ next.js
but he put some TS in /src/, which compiles to /dist/ if I run
tsx -w
--but then it ends up in
dist
per the tsconfig
698 replies