Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have a project to build a website in python without using any framework
so, I want to know how to link between PostgreSQL database and HTML in python
is it possible?

What I have tried:

I tried to search for it but only the frameworks that appear
Posted
Updated 30-Apr-18 7:10am
Comments
Richard MacCutchan 30-Apr-18 11:43am    
It may be possible, but you will need to do all the work to create a framework for it.

1 solution

Maybe PostgREST might be of interest to you: GitHub - begriffs/postgrest: REST API for any Postgres database[^]
This is a self hosted webserver that can turn any PostgreSQL database into a REST API, which is not a website of course but can ease development a lot.
There is also an excellent tutorial at: PostgREST Documentation — PostgREST 4.4.0 documentation[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900