Next Server Components
If you are using React Server Components (fetching data on the server), you can skip the API layer, and query your database directly without risking exposing your database secrets to the client.
Pitfalls
See Anti-Patterns for more.
Best Practices
See Best Practices for more.