A
A
Anton2017-05-18 11:28:53
JavaScript
Anton, 2017-05-18 11:28:53

Will Node.JS fit Write Model on this architecture? What toolkit is there, and how well does it work?

I'm starting my project, it will be SAP, I chose Angular2 with TypeScript as the front, because best known to him. On the back, I want to stick to CQRS, GraphQl will be used as a Read Model in conjunction with PostgreSQL (because REST with a normalized database is a hell of a pain), but I have questions with Write Model - before that I used Symfony on the backend, but purely theoretically I I like that you can use one language both on the back and on the front (once described models, validation, and in fact, the entire domain layer).
Attention, questions for node experts - is its choice justified in this situation, or is it better to use symphony, and put up with the inconvenience of duplicating code on the back and front and in different languages?
Which of the existing ORMs should be chosen (in fact, only for update and insert)?
Is there a tool for generating models from a ready-made database and vice versa, as well as for generating migrations based on a comparison of models and a database (yes, I'm spoiled by the doctrine :) ), or is it all handles?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question