S
S
Stepgor2019-12-05 16:37:52
Node.js
Stepgor, 2019-12-05 16:37:52

Is it normal practice to create a file that builds the application's structure?

Is it normal practice to create a file that, for example, creates all the tables in the database, fills them with the necessary content, collects all the settings together? Just a separate file like startProject.js and just after uploading it to the prod, we launch it first and that's it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ince, 2019-12-05
@ince

Tables are not created by a node.
This data is saved in sql files and is already stored.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question