Connecting to a database using only VueJs - mysql

I am working on an application that will be internally used.
It is a accounting and inventory management webApp.
The question is can i connect to the database from the front end and skip the backend ?

Related

How to connect to my mysql database installed in my host (domain)

I want to develop a desktop application (with VB) and connect it to an online database (MySQL), I already had my hosting site and I thought why not create a MySQL database in my domain (which by the way is offered in the pack) and connect my desktop application to this database.
Why an online database? Because I want to develop a mobile application to keep me informed of any changes in my business without moving to my office.
The problem is that my VB6 application cannot connect to my MySQL due to domain restrictions. I wondered how these thousands of apps work with online data? What are their magic solutions? Or did I miss something?
Please any idea? I worked with VB6 and a local database which is no longer productive.
You can create a simple PHP file on your server that will take the data from your VB6 apps and store it in your database. You can also create a simple PHP file that will query your database and return the results in a format that your app can read. This is the typical way that a VB6 app will interact with a server-side database.

XAMARIN, API, and Remote MySQL Database

I have a MySQL Database that is hosted on Host Gator. I have a desktop application that that I created that connects to the MySQL Database where I can add and retrieve data from the database. I want to develop a simple app using XAMARIN that can connect to the MySQL Database that is hosted on Host Gator. I want to be able to add data to the database and receive data from the database. I have been told that connecting straight to the database form XAMARIN is bad practice and it is recommended to create an API. How can I create an API that connects to the MySQL Database that is hosted on Host Gator? Is it possible? The app would just be used by friends and family and would not be available on any app stores.
Host Gator Control Panel:
Host Gator Control Panel
Host Gator Control Panel Continued

Nodejs application get data from Hostinger Website Mysql database. How do I solve this

My client has a website hosted on hostinger, He has linked me on his hosting. Database is Mysql. It is a ecommerce business website and I need to get some data from the mysql server through my NODEJS Application
It has a remote mysql feature.
I tried using mysql npm library, but i dont know what credentials to put there. I have no clue how to connect to a already hosted mysql database, It has a remote access feature, which I could not use.

Concept Confused : Cloud Interaction with Wordpress in GCP and APP with Spring

I'm quite new to wordpress and GCP, learning programming less than one year.
Now I'm writing a project using wordpress in GCP and mobile app in the frontend and MySQL in GCP and Spring Boot as server and controller.
In GCP, Wordpress, MySQL, Apache, etc are included and managed.
As you can see in the architecture I assume they will work, there is no need to send Rest API to spring boot and react to DB. I would like to know if I am right about the basic concept.
There is shared information in wordpress and app, for example, membership data.
In app, we send request to spring and spring reacts with DB in GCP, as wordpress acquires data from DB again, a new member info is loaded automatically in the frontend.
And in wordpress, request is sent to DB in GCP and Data is renewed. Once the app acquires data thru spring and DB, the new in is loaded.
I have the issue because the mentor said it is not usual practice for web to react directly with DB, and the co-workers insist establishing a connection between web and spring. Why?
The initial concept is to create a web and app that shares same database, but create different functionality, web for selling, app for interactive activities. We learned the basics in java, spring and web, but we are really unfamiliar with network concept.
(The frontend part and DB establishment are finished. We are working on the Server part.)
If there is any clarification or any suggestion to modify the whole procedure, it's well appreciated.
If there is any nothing I did not explain so well, I will try harder.

How to Connect Xamarin Forms to MySQL database as backend of the app without webservice?

How to Connect Xamarin Forms to MySQL database as backend of the app without webservice?
i'm using a control panel website called myasp.net it offers a MySQL online database , and here's my phpMyAdmin i already set up all of the tables i needed, and i want to connect it to my xamarin forms application directly. is it possible?
I think your question also goes somewhat like this one I answered, and you are asking so many things with very few lines.
is it possible Xamarin.Forms Android and iOS with Sqlite syncing to MySql?
again, you need to create an API to reach there.
OR
if it is a huge learning curve for you right now, you can get a free azure account and create an Azure Function, as www.myasp.net offer MySQL get the connection credentials.
refer to this :
Azure Database for MySQL: Use Node.js to connect and query data