akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.29k stars 7.96k forks source link

Ngx-admin -> SQL Server communication #1699

Open rfaloisio opened 6 years ago

rfaloisio commented 6 years ago

A little help here:

Trying to find some ways to do SQL query's via ngx-admin but not finding any tutorials or guidances that show me how to.

If someone has any help, I appreciate it.

Thanks

rfaloisio commented 6 years ago

Trying to find the best way to build an API.

Do you guys feel it's better to use node, or another way is better?

pellyadolfo commented 6 years ago

what about NodeJS + ExpressJS as a server? Just one option. Then you can build angular @Injectable services invoking your server

mota57 commented 6 years ago

Depending what is your backend you have to build an API.

you can take a look how to make it at microsoft documentation dotnet core

Then you can call an angular service to request one of your API's url.
More info at https://angular.io/guide/http

rfaloisio commented 6 years ago

Hi @pellyadolfo @mota57 !

Thanks for the replies! I'll do some research and get back here if I have some doubts!

If someone else has their own alternative and would like to share here, I'd appreciate it!

ttma1046 commented 6 years ago
  1. create backend services to talk to sql (e.g. asp.net mvc ,asp.net webapi, wcf)
  2. use httpclient inside of '@angular/common/http' to get/post/put/delete the backend services. check 'country-orders-map.service.ts'.