When it comes to write code you don't need to learn magic spells.
All you need is to take a look outside the window and solve your problem with patterns from the real world.
Learn by examples how easy is to build a Fastify based Web Service with ForrestJS and its feature composability.
Write your first NodejS REST API on the browser for free, and persist data in a Postgres database.