0

Need help in deploying.

Hello! My question is how do i link sql database. I have a testdata(database name) which have table(first_table). Now i want to connect this database with my static or local web page. So this is my question. How do i connect my database and table with my local webpage? Note- I am using postgresql for creating sql databases.

21st Nov 2020, 4:31 PM
Dhruv Kohli
Dhruv Kohli - avatar
11 Réponses
+ 3
You need to use a backend tech to be the server to connect to your database, and then process the data and pass to frontend to display to user. What is your best programming language?
21st Nov 2020, 4:38 PM
Gordon
Gordon - avatar
+ 3
If it is JavaScript, use Node.js Short tutorial : https://youtu.be/s_PlIZs8CPE Node.js & Postgresql Recipe App Tutorial Series by Traversy Media: https://www.youtube.com/playlist?list=PLillGF-RfqbaEmlPcX5e_ejaK7Y5MydkW
21st Nov 2020, 4:41 PM
Gordon
Gordon - avatar
+ 2
Ok, for C++ Firstly, Retrieving data from Postgresql with C++ https://youtu.be/O0MxPv33Bfw Secondly, Building a Web Server with C++ [VS 2017] part 1 https://youtu.be/Kc1kwm1WyVM Part 2 https://youtu.be/YqEqjODUkWY
21st Nov 2020, 4:45 PM
Gordon
Gordon - avatar
+ 2
No need to learn Python, stick to C++
21st Nov 2020, 4:46 PM
Gordon
Gordon - avatar
+ 1
Use a Backend technology like PHP, Django,Node.js,etc
21st Nov 2020, 4:40 PM
Faisal Rahman
Faisal Rahman - avatar
+ 1
if you go with Django or flask then you should learn python
21st Nov 2020, 4:46 PM
Faisal Rahman
Faisal Rahman - avatar
0
C++
21st Nov 2020, 4:40 PM
Dhruv Kohli
Dhruv Kohli - avatar
0
Lol i thought that Java script,Html,css and sql is just enough for my local project.
21st Nov 2020, 4:43 PM
Dhruv Kohli
Dhruv Kohli - avatar
0
And is there any need to learn python?
21st Nov 2020, 4:45 PM
Dhruv Kohli
Dhruv Kohli - avatar
0
For local projects
21st Nov 2020, 4:45 PM
Dhruv Kohli
Dhruv Kohli - avatar
0
Thanks to both of you!
21st Nov 2020, 4:47 PM
Dhruv Kohli
Dhruv Kohli - avatar