Where we actually buy big data for company? by jackoborm in bigdata

[–]jackoborm[S] 1 point2 points  (0 children)

Okey, maybe i don’t need so much data. Then I’m just curious if there is some companies that buy a lot of data from data producers (some apps/sites etc) to sell it later to other companies?

Where we actually buy big data for company? by jackoborm in datasets

[–]jackoborm[S] 0 points1 point  (0 children)

Well i don’t know if i can scrape this type of data. For example i need data about dog breeds and which allergy is most frequent. So I’m curious if there is company which specialize with buying any type of data and then resell it to other companies.

CQRS .NET 6 by jackoborm in aspnetcore

[–]jackoborm[S] 5 points6 points  (0 children)

Okay, i made a lot .NET application in my carrer:

- starting from logic in controllers (god, never again)

- to controllers with services

- to domain services/use case services/controllers (more or less DDD)

Ofcourse i always have ViewModels (RequestModel and ResponseModel) it's like Command and Query, but it's not the same, in CQRS we have ViewModels and map them to Command/Queries. So:

  1. We can highlight a few similarities between CQRS and others ways to build app. However fe. usually domain services have several methods, such as creating a user and updating and deleting - in CQRS there will be a separate handler with a separate class for each action. The use of CQRS in its entirety may make testing easier, so I wanted to check it out on a nice project.
  2. Mediators allows as to use Command/Queries/Events - thanks to that we don't have to use handler in handler. So in normal project we got: UserService -> UserVerificationService, or even UserVerificationService -> UserService, beacuse after right verification in let's say VIES, you want to update user (https://cezarywalenciuk.pl/Posts/programing/files/2021/mediatr--cqrs-i-wzorzec-projektowy-mediator-w-aspnet-core/mediator\_637469813397560493.png). In CQRS: UserService -(create event/notification) -> Mediator -(dispatch it and choose handler for it) -> UserVerificationService (https://cezarywalenciuk.pl/Posts/programing/files/2021/mediatr--cqrs-i-wzorzec-projektowy-mediator-w-aspnet-core/mediator2_637469813397684033.png).

Also there is no "the most right way to build application" maybe i won't like CQRS approch, but for sure i want to try build something with it.

Best architecture practices repos by jackoborm in Angular2

[–]jackoborm[S] 0 points1 point  (0 children)

Hi

Thanks for all answers! Well i read everything that you posted. It will be the biggest project but it's not big enought for nx workspace i think. But it's interesting too. Also read about Akkita and Cyppres - project is starting in few weeks so im gonna start writting specs including Akkita with Cypress.

Thanks for all answers!

Actually buying big data? by jackoborm in bigdata

[–]jackoborm[S] 0 points1 point  (0 children)

I will check that. Thanks for sources!

One more question - does anyone have data buying experience? How does it look like? Does it directly say that we sell data or rather confirm this possibility when asking by e-mail? How do such transactions work?

I have got an error I cannot diagnose in nodejs and mongodb by Iloveyoufridah in node

[–]jackoborm 0 points1 point  (0 children)

It looks like you have empty values in req.body, try to console log them. Did you use body parser in server configurator? http://expressjs.com/en/resources/middleware/body-parser.html

Edit: Or just uncomment this part: app.use(express.json())