Able to identify separate responsibilities of the application Flashcards
1
Q
- Controllers
A
- handling HTTP requests and implementing the API endpoints.
- It receives requests,
- interacts with the necessary services,
- and returns responses.
2
Q
- Services
A
Implement the logic in the serveces.
3
Q
- Models
A
- represent the data models used in the application.
4
Q
- Tools
A
The Password class includes the hashPassword method used for password hashing.
5
Q
Data aka DbContext
A
is responsible for interacting with the database tables.
6
Q
migration
A
ensuring that your database stays in sync with the application
7
Q
components
A
Components are reusable UI elements that can be composed together to build more complex UI structures
8
Q
Pages
A
In Next.js, pages represent individual routes of your application.
Each page corresponds to a specific URL and is responsible for rendering the content for that route.
9
Q
Styles
A
CSS Modules: Next.js has built-in support for CSS Modules. CSS Modules allow you to write CSS styles in a modular way