Have a Database User for each Express Route - Best Practices for Backend Application with Postgres

The Backend Engineering Show with Hussein Nasser - En podcast af Hussein Nasser

Kategorier:

This is a question from one of you guys that I thought I'd answer in its own video since its loaded.  Q/A - Shark Beak I currently have the same setup for my side project. What do you think about having a 'create table if not exist' running on startup that creates this table? Good/bad?    It is always a good idea to have a specific database user for each route with specific permissions and use connection pooling as much as possible.

Visit the podcast's native language site