fjohanssondev / podcast-app

https://podcast-app-henna.vercel.app
0 stars 0 forks source link

Create API route to fetch creators #8

Open fjohanssondev opened 11 months ago

fjohanssondev commented 11 months ago

We'll probably need an API-route that can fetch all creators. Maybe we'll use this in a search feature.

So what are creators and what differs then from regular users? Remember that we do have a User schema

model User {
...
}

Every user can have several podcasts. So if a user has atleast one podcast. They should be consider as a creator.