Things we perform in a express application’s entry point file:
- Import dependencies.
- Configurations. Such as the template engine.
- Define Middlewares.
- Define Routes.
- Connection to DB.
- Start the app.
Example:
|
|
Quick notes
Things we perform in a express application’s entry point file:
Example:
|
|