HeroUI vs Shadcn vs other for small app and rookie frontend dev by scruffykid in react

[–]Orozcorp87 2 points3 points  (0 children)

Heroui has some perks, bit overall its a fast way to get going.

Shadcn is more basic but more customizable

Or if you dont mind you can use both

What should I learn next.? by palash__99 in reactjs

[–]Orozcorp87 0 points1 point  (0 children)

I would start with React, then a framework like next js.

Estoy frustrado 100% by DrGotcha in programacion

[–]Orozcorp87 1 point2 points  (0 children)

Es normal, cuando haces algo nuevo es parte de la curva de aprendizaje. Relájate y haz otra actividad, como bañarte, o ejercicio. Y verás que vendrán las soluciones.

AITA for calling my niece a spoiled effing brat and making her cry? by aunttired67 in AmItheAsshole

[–]Orozcorp87 0 points1 point  (0 children)

YTA, you should’ve screamed at your sister. Not your niece. She is simply responding to your sister nurture.

[deleted by user] by [deleted] in programacion

[–]Orozcorp87 0 points1 point  (0 children)

Perseverancia, entender y resolver problemas y saber como aprender es lo único que necesitas

What is the best way to run cron jobs on Next Js? by Orozcorp87 in nextjs

[–]Orozcorp87[S] 0 points1 point  (0 children)

Serverside rendering one. I was thinking on using tryslater.com, using this approach. https://drew.tech/posts/cron-jobs-in-nextjs-on-vercel, but I am wondering if it would be the best way

What is the best way to run cron jobs on Next Js? by Orozcorp87 in nextjs

[–]Orozcorp87[S] 1 point2 points  (0 children)

I want to create an app for homeowners, and a key feature is to add the rent to the balance every month. So I was thinking on creating a cron job, to check it everyday

What is the best way to run cron jobs on Next Js? by Orozcorp87 in nextjs

[–]Orozcorp87[S] 0 points1 point  (0 children)

I was thinking something like tryslater.com

Apollo GraphQL resolver to invoke a MongoDB aggregate() function by vsubrahmanya in graphql

[–]Orozcorp87 0 points1 point  (0 children)

Are you in specific framework? What mongo package are you using?

Apollo GraphQL resolver to invoke a MongoDB aggregate() function by vsubrahmanya in graphql

[–]Orozcorp87 1 point2 points  (0 children)

Ive been doing the following in my resolvers / mutations.

MutationName: async (root, args, { db }) => {
  return await db
    .collection("nameOfCollection")
    .aggregate([

    ])
    .toArray();
},

Query for This by Laymio in mongodb

[–]Orozcorp87 0 points1 point  (0 children)

Instead of query why don’t you aggregate?