How to integrated opentelementry to Datadog in Nestjs - nestjs

I am trying to use the opentelementry in my nestjs app, trying to send the backend traces to datadog, but could not find anything about it on nestjs documentation.

Related

Custom Route in an App for using in Cloud Shops

Is it possible to add custom routes in an app which are also valid in a cloud shop? I couldnt find anything about it in the docs.
You can implement custom endpoints using app scripts.

Looking for an initial web application generator like JHipster but with NodeJs

I'm looking for a tool what I can use for generate an initial web application.
Previously I used JHipster for my Applications, which uses Java Spring on server side, but currently I don't want to maintain a Spring backend only a NodeJs.
Requirements:
using Angular as frontend
using NodeJS as backend
using Firebase for (authentication, collection and data storage)
pre built Authentication mechanism (including user register and login)
Do you have any suggestion?
Or how can I speed up these initial steps?
you could use https://github.com/jhipster/generator-jhipster-nodejs it does not use Firebase

Swagger connected to Azure ..now what?

I connected my swagger PetStore api to Azure using swagger Azure API Management integration.
Now that it made it in azure; Where do I implement the actual logic of querying my azure database etc?
Using swagger if I generate a Node server stub I get the following generated. But these are not available if I use API management integration.
In the Backend section I only see Logic Apps and endpoint options. I tried the Logic App stuff but it seems I need 50 logic apps if I have api that large...Am I missing something?
Maybe you need to use SwaggerHub.
The Swagger UI you are currently using belongs to the community version and should not support direct integration. Assuming there are 100 api interfaces, you need to add 100 times in azure apim.

Develop application in Angular, Node.js, NestJS and Firebase

I have an application developed in Angular, Nodejs and Firebase.
At the moment all the logic and business rule of my application in Angular is within the services that Angular provides, so I need to perform dependency injection in my components for the consumption of the data of the Cloud Firestore.
My company is expanding with other applications that are also in healthcare, and I need to create a backend to handle every business rule of my application in a separate way from my Angular project.
I recently met NestJS, and I would love to use it as the backend of my application developed with Angular.
My question is whether you can restructure my application in Angular, Node.js, and the persistence of Cloud Firestore and Firebase Authentication offline data by creating a backend with Nestjs so that you can continue to use the benefit of working with my application on offline mode.
A summary of what I need:
1. Create a backend with Nestjs where my entire business rule will stay.
2. Consume the backend written in Nestjs in my Angular application so that you can insert, update, and delete data from my database in Cloud Firestore.
3. Reuse modules in other applications Angular or other front-end development frameworks.
4. In my Angular application, I do not want to make HTTP requests to consume the data from my backend, since I want to use the benefits of Cloud Firestore persistence of offline data.
I realized that there is the Cloud Firestore API RPC, could I work with NestJS gRPC? Reminding me that I would like to keep data persistence offline in my Angular application.
Is it possible to have a well-written system with Angular, Node.js, NestJs and the features that Firebase offers?
As far as I have understood your question, you want localstorage functionality in the app, you want structure of the app like
frontend is always getting data from localstorage
whenever app gets access to network, it refreshes its localstorage with cloud firestore behind the scenes so that app will never get slow
Please correct me if I am wrong
No support for this use case yet.
Learn more about current limitations here:
https://www.youtube.com/watch?v=oDvdAFP6OhQ&t=527s

Creating an custom API using existing API

I am trying to set up a custom API for my application. This is a corporate application that I installed in my environment. The application comes with it's own out-of-the-box REST API, but I'm looking for a way to create my own custom API leveraging the existing one. The reason I want to create a custom API is because of all the customizations that have been made to the underlying database. I'm looking at using Node.js and the Express application framework to create the custom API, but all the use cases I've seen for this are for creating new APIs from scratch. I guess my question would be, how can I integrate my existing web services API into a Node.js (Express) set up. My existing web services API runs an Apache Tomcat web service. This publishes the existing web service endpoints in a format like this:
http://://?fields=,...
I'm looking for tips, pointers or something that can point me in the right direction. If there are any alternate (better) solutions available aside from Node.js (Express) I am open to exploring that as well.

Resources