I
I
Innokenty Ivanov2019-03-13 05:26:58
MongoDB
Innokenty Ivanov, 2019-03-13 05:26:58

Entity Framework analog for MEAN stack?

In the ASP.NET Core + MS SQL + IIS stack, it is convenient to update the properties and methods of entities, and it is easy to maintain the integrity and uniformity of the entity described in the project, with tables in a relational database, relationships, and so on. Just write

dotnet ef migrate
dotnet ef update

and done! The necessary fields and relationships for all entities appeared in the database.
Is there a similar framework for cooks in the JS ecosystem? Mongoose/MongoDB.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Pavlov, 2019-03-13
@Umirode

docs.sequelizejs.com gdvebe

J
jsquall, 2019-03-15
@jsquall

https://nestjs.com/
Out of the box there is everything your heart desires.
TypeORM provides auto-generation of migrations when changing models (quite simply, as in EF via cli, call one command)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question