V
V
Vatrush2020-07-23 16:39:14
Node.js
Vatrush, 2020-07-23 16:39:14

What do files like database connection, passport, winston, etc. refer to?

Everything is clear in the application architecture, views are templates, models are models, and so on. And what do such files include connecting to mongodb, redis, passport, winston and many more different modules?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Lambov, 2020-07-25
@maxilamb

you can create a libs folder and store it there
, usually the passport functions are implemented as middleware, to store them, create the appropriate folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question