C
C
cekozaxev2019-08-21 17:34:09
Angular
cekozaxev, 2019-08-21 17:34:09

How to use database for Angular 2 on hosting?

I want to host an Angular site. How can I access the database? You need to use something like https://mlab.com/ or you can just somehow place the database on the hosting

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Fedoseev, 2019-08-21
@martin74ua

hosting technical support usually answers this question.... perhaps the address of the database server will not change - localhost

Q
Qairat, 2019-09-05
@Qairat

Just using the base through Angular will not work. Because Angular is for front end development.
To connect to the database, you need to use another language, for example php, java, c#, nodejs, write a backend on one of them, connect to the database, and from there transfer data or receive it via api. And you just don't connect like that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question