Next.js Discord

Discord Forum

How should I go about creating an adult-content platform?

Unanswered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
A client of mine have an exciting project where she wants to upload adult-content to a platform for others to see. She wants endless scroll of side-by-side-photos, some filtering and sorting, and admin panel where she can upload pictures and write some metadata about the photo. In the future she also want tier-based content so she can profit of some of the more premium media. She has about 800 pics to start off with.
There's also a question about a payment processor that will allow for adult content, but that's for later.

What is the best choice of stack for this kind of project?
I've been looking into Vercel Postgres and Vercel Blob, especially this template https://vercel.com/templates/next.js/photo-blog that I think covers my needs, but Vercel Postgres and Vercel Blob hobby-plans seems very limited. Going into a PRO pricing is ofcourse an option, but what other techs should I look into?

Has anyone made something similar. It doesn't have to be adult-content ofc

28 Replies

Indian Spitz
πŸ’€
pretty much tiktok?
but no video
@Northeast Congo Lion A client of mine have an exciting project where she wants to upload adult-content to a platform for others to see. She wants endless scroll of side-by-side-photos, some filtering and sorting, and admin panel where she can upload pictures and write some metadata about the photo. In the future she also want tier-based content so she can profit of some of the more premium media. She has about 800 pics to start off with. There's also a question about a payment processor that will allow for adult content, but that's for later. **What is the best choice of stack for this kind of project?** I've been looking into Vercel Postgres and Vercel Blob, especially this template https://vercel.com/templates/next.js/photo-blog that I think covers my needs, but Vercel Postgres and Vercel Blob hobby-plans seems very limited. Going into a PRO pricing is ofcourse an option, but what other techs should I look into? Has anyone made something similar. It doesn't have to be adult-content ofc
I made something like that before and it's pretty interesting. I done it with drizzle orm (with own server) for data fetching (instead of vercel postgres). Also vercel blob is to expensive for me, so I searched for a cdn that also allow adult content and found bunny cnd (with AWS S3 in background). It's pretty fast and cheap as well. For auth I using a combination of next-auth and easy rbac. Pretty easy to setup and easily maintainable. For payment processing I am using stripe. I know it's not allowed, but I don't do anything illegal, because these payments are just for exclusive content. And exclusive content can also be a normal picture. It's just exclusive. Watch out, that you don't write anything with adult stuff to stripe and then you are safe.

So you have:
- Payment processing: Stripe
- Images/Videos/Files: Bunny CDN (with S3)
- Data: Drizzle ORM (Server)
- Role Based Access Management: easy-rbac
- Authentication in general: Next-Auth

Let me know your thoughts πŸ‘
Indian Spitz
why not host the cdn locally/ on the server?
shouldnt need the region availability as reg
A CDN is there to provide low latency from anywhere in the world. However, my server is not located anywhere in the world because I only have one. That's why I prefer to use an actual CDN network and not my single server
Indian Spitz
yeah ik what a cdn is πŸ’€
thats why said region availability
oh
im dumb
i meant the storage
cdn be cf
and just have the db
locally
Indian Spitz
πŸ’€
my brain today 🀯
right now it isn't pushed yet:
Will push in a few days
@B33fb0n3 right now it isn't pushed yet: Will push in a few days
Indian Spitz
what pictures u hosting?
or kind of content
adult stuff
Indian Spitz
oh..
@Indian Spitz oh..
you should take a break. I literally said it in my first sentence 🀣
@B33fb0n3 you should take a break. I literally said it in my first sentence 🀣
Indian Spitz
you said "like" sob didnt think u meant litterally the same thing
😭