0

How can I add a database to a website

I want to add mogo.db to my website

26th Nov 2020, 7:22 PM
đŸ„‡đŸ‘©â€đŸ’» Kintu Michael Evans đŸ”„đŸ”„( Active)
đŸ„‡đŸ‘©â€đŸ’» Kintu Michael Evans đŸ”„đŸ”„( Active) - avatar
3 Answers
+ 1
Assuming you are asking for "how do I connect database to a website". Connecting a database should be done through server-side. I use mongoose for my Mongodb and nodejs application. If your a front-end developer. Then I will say use headless cms like contentful. Gatsby with contentful is a great choice in my opinion. Other option is firebase.
27th Nov 2020, 4:01 AM
🇼🇳Vivek🇼🇳
🇼🇳Vivek🇼🇳 - avatar
+ 1
Why add db to website instead select from db an show result of this select in website
26th Nov 2020, 7:45 PM
VĂĄclav DostĂĄl
VĂĄclav DostĂĄl - avatar
+ 1
I do not know Mongodb, but I thing it function as xampp ( phpmyadmin+mysql+php) on server as backend. On frontend I use php with connect to this server and select commands and fetch results of select to variable and echoing values. I suppose your case is similar.
27th Nov 2020, 1:49 PM
VĂĄclav DostĂĄl
VĂĄclav DostĂĄl - avatar