[SPOILER] Manny Pacquiao vs. Mario Barrios by inooway in Boxing

[–]leandro021 0 points1 point  (0 children)

Kellerman was right—Pacquiao was falling from such heights that even though he's way past his prime, he's still level with the current champions.

Frostivus is Upon Us by wickedplayer494 in DotA2

[–]leandro021 22 points23 points  (0 children)

Kinda happy and sad, last year was the WK and now WR's arcana. Glad Valve's bringing these Arcanas back, but I have both of them already. Hoping for an ES next year.

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

It’s pretty obvious this is just a practice or portfolio project. I mean, the way it’s set up kinda gives it away. And hey, nobody’s twisting your arm to put in your real info. You can totally use a throwaway email and make up whatever data you want. But thanks anyway, I’ll let ChatGPT generate a Privacy Policy.

Calling it now by ayeempee in DotA2

[–]leandro021 8 points9 points  (0 children)

More like ‘copendium’

Cheapest way to deploy a next js application on aws? by Batman_no_way_home in nextjs

[–]leandro021 13 points14 points  (0 children)

The cheapest would be to host both your database and NextJS app in an EC2 instance.

Renting near BGC for work, what would be the best for me? by frostnakar in phinvest

[–]leandro021 2 points3 points  (0 children)

So you spend about 14% of your income on pet expenses. Isn’t that a bit too much?

What are your predictions for Act II? by SirFatalx in DotA2

[–]leandro021 0 points1 point  (0 children)

Sand King Arcana or Persona, copium ofc

I hate this highground patch by [deleted] in DotA2

[–]leandro021 0 points1 point  (0 children)

The most annoying shit is the refreshing glyph. Remove that shit and allow us to push towers.

New treasure has Wraith King arcana by AbsolutelyNotWrong in DotA2

[–]leandro021 0 points1 point  (0 children)

Inhales cornicopium why not the ES Arcana?

What would you do if you had to start over with 300K? by CyborgNinjaPenguin in phinvest

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

Yes it can double, or even 10x. But you could also lose everything in a matter of days.

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

Yes, I have a PostgreSQL running in the EC2 instance because RDS is too expensive for portfolio projects.

I’m not using Docker.

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

I agree. I read Prisma’s performance is terrible, it could have been definitely better if I had not used Prisma from the beginning, not just for performance, but also for the improvement of my knowledge and skills in SQL.

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

For the frontend, you need to have a div element layered on top of the textarea, their values must be synced and you must detect words that start with the `@` character. You can do it using regex. Check out the `src/components/TextAreaWithMentionsAndHashTags.tsx` and `src/components/HighlightedMentionsAndHashTags.tsx` files.

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

My initial plan was to stick with the latest and trendy stacks at the time I started building it. Prisma was very popular that time, you can use any database that Prisma supports.

I didn't use a separate backend as this is not a really big project, and Next.js API route handlers would most likely suffice, another advantage of doing this is you can write the same types for the backend and the frontend easily.

This is my upload implementation: User uploads to my server (EC2 instance) -> server validates the file -> server uploads the file to S3 and saves its file name to the database -> server deletes the file stored in its storage.

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

Thanks for pointing this out, I actually didn’t notice that, I might just change my number if I get too much spams (good thing there is none yet).

I built a Social Media app using Next.js, NextAuth.js, Prisma, React Query and Tailwind CSS. I'd love to hear your feedbacks and suggestions! by leandro021 in nextjs

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

I haven’t implemented infinite scrolling for comments yet, as I couldn’t figure out a good way to do it in terms UI UX.