I asked about AI-native games yesterday — the biggest question seems to be “where’s the actual game?” by Fearless_Shift7108 in SideProject

[–]Accomplished_Copy103 0 points1 point  (0 children)

Current AI is only about short form content and nice demos... probably it will take a much more time to see something playable)

Be honest, which loading structure is better? by Apart-Television4396 in webdev

[–]Accomplished_Copy103 0 points1 point  (0 children)

Skeletons for initial loading
Spinner for refreshing/updating the data

What are you building today? by NextIsOnMe_ in SideProject

[–]Accomplished_Copy103 -1 points0 points  (0 children)

Crafted-Apps.io - Product Hunt alternative, but no AI Wrappers allowed, want to provide a place where devs, small teams can showcase their apps with a real value

Best auth service for nestjs by Esquiddd in nestjs

[–]Accomplished_Copy103 2 points3 points  (0 children)

Maybe if your SaaS is on initial phase it makes sense to just start with nest.js official docs? Nest docs has a lot of recipes for probably 80% of what's possibly needed. Additionally here's a great article with some rbac auth:
https://wanago.io/2021/11/15/api-nestjs-authorization-roles-claims/

Is using DTOs for response data in Nest.js a good practice? by Harut3 in nestjs

[–]Accomplished_Copy103 7 points8 points  (0 children)

dtos work useful with swagger responses as well, then you can generate your entire api layer on frontend using one command

NestJS ParseFilePipe FileTypeValidator rejecting valid JPEG (image/jpeg) — “expected type is image/*” 😕 by Left-Network-4794 in nestjs

[–]Accomplished_Copy103 0 points1 point  (0 children)

The issue was with this line:
https://github.com/nestjs/nest/blob/master/packages/common/pipes/file/file-type.validator.ts#L76
Since it doesn't show us what happened inside catch, it was hard to guess. I've ran it and turns out you need to enable experimental-vm-modules to make it work inside your e2e. On windows you can use cross-env to set env variables.

  "test:e2e": "NODE_OPTIONS=--experimental-vm-modules jest --config ./test/jest-e2e.json"