Seems like you're looking for amazing projects. Look for Web Prodigies - SaaS builder, it is absolutely amazing. I'm not saying this project is not cool. It is, and I love Lama Dev channel, but that one is worth checking out as well!
If you have problems cant access the sessionClaims for following the tutorial in chapters NEXT.JS Protect Routes With User Role 2:35:06 - 2:36:06 export default clerkMiddleware(async (auth, req) => { const { sessionClaims } = await auth(); you have to add the async and await functions because the clerk there using Promise to access that payload from sessionClaims big love for you lamaDev for this precious tutorial
did you already check for the sessionClaims is it already loaded? or check on the clerk dashbord for the admin user have you add the "role" on the metadata?
Lama you are one of the best online teacher the way you explain only one word for outstanding. I always like and share your videos in my community. Keep up the awesome content
Wow, this tutorial is a game changer! 🙌 I’ve been looking for a comprehensive guide on building a full-stack school management app, and you nailed it! The role-based functionality is exactly what I need for my project. Your explanations are super clear, and the use of Next.js really highlights the power of modern web development. Definitely subscribing for more content like this!
No amount of support we could give to Lama that's up to the teaching is giving for free on here. God will reward you and please don't stop your good work. Thank you so much Lama
Omg, I am doing this project right now as well, please do the learning front end site for student as well as teachers to do quiz, view documents, I believe this kind of project is very hard but exciting to do as well.
hai Lamadev, i am so really sorry i didn't do research properly. wish you all the best and get a great success soon !! by the way, i am your new subscriber and i am so glad for finding your channel
Hello everyone, everyone is saying that this is a tutorial. My question is: What is missing from this project to be able to found a startup with it? What technical elements are still missing? For example, a database. I am quite new to the programming world and I’m not sure if this is just a tutorial or if it’s a project that can be directly deployed? But perfect Job , thank you for this cotnent
I made entire UI Then half way through this 2nd part, i felt too bored - its just became very repetitive I was curious about "role" handling more than anything else- which i figured. Interesting approach. - I am still skeptical about route protection - it doesnt look scalable - having array of role strings for each role. Few type script errors here and there do get solved but they are such a turn off I am going to create something animated and fun now. Will get back to this when i feel like. One more to the bucket of unfinished projects
i hope you create an lms like programming hub and solo learn where users could interact with the website by answering some questions through the course or where instructors could take quizzes from students...
For all the async components I get the error 'cannot be used as a JSX component. Its return type 'Promise' is not a valid JSX element.'. I have found a way to dismiss the error by writing {/* @ts-expect-error Server Component */} before the component, but surely there's a better way ?
If my API is used by another client, mobile app for example, would you recommend creating a shared layer by handlers and server-side component to fetch/manipulate data ?
Could you let me know if we’ll need to pay for any services while following this course? I noticed some tutorials used paid options like Hostinger for MySQL databases. Are there other services we might need to pay for during this course?
"Hello! I would like to suggest a very useful project for your channel: a complete school management software. It would allow for the registration of students and teachers, the inclusion of grades, tracking of school attendance, and also have a robust financial area. In this area, it would be possible to issue invoices for guardians, track payments, and generate the teachers' payroll. It would be amazing to see the development of a system with all these features, teaching step by step how to create a practical and efficient solution for schools!"
What do you use to make the spaces like that, put the parentheses yourself, etc., because I leave them like that, next to each other, it looks messy and it's harder to read... :(
Hi Lama, thanks for the video , i am stuck in one place 53 minutes - const TeacherListPage = async ({ searchParams, }: { [key: string]: string | undefined; }) => { const teachersData = await prisma.teacher.findMany({ include: { subjects: true, classes: true }, take: 10, }); console.log("searchParams", searchParams); I am not getting any output, its showing promise pending , can someone help me out
thanks for including docker. Will you make a video on how to deploy this massive app? where's db hosted for example, i'm not sure that simple deploy on vercel will be enough to make app work
Thank you for your content, I've been learning a lot from you. I have a question that isn't about this project. Would hosting on hostinger just like you did on this project handle an app with 20000 users?
I'm getting an error while deleting teacher, integrity issue of foreign key. Means when delete teacher it breaks the foreign key rule of becoz, in classes teacher must be present. So, I am not able to delete teacher which have assigned class's supervisor.
Thank you for your effort and for sharing your amazing work. Next I have one question that if you respond it ? How to generate Students card by student or class ?
Kindly make a part - 3 of this SMS (School Management System) application, where messaging, notifications and setting functionalities are implemented. And btw thank you for delivering such awesome content. Please like my comment so that the message reaches him.
Hi Lama Dev Thank you for this awesome Video but there is a problem with me at 2:35:23 there you use the line of code " const { sessionClaims } = auth(); " at middleware.ts. At my code under the " sessionClaims" there is a error and shows as "Property 'sessionClaims' does not exist on type 'Promise'.ts(2339)". if I have to fixed it like " export const getRole = async () => { try { const { sessionClaims } = await auth(); return (sessionClaims?.metadata as { role?: string })?.role; } catch (error) { console.error("Error accessing sessionClaims:", error); return null; // Return null or handle the error appropriately } }; " then, there is lot more to change. So, rather then this can you help me out or did I committed any mistake at any point? Waiting for your respond @Lama Dev.
please use the font sze of visual studio code bigger when making tutorial.. cause we play your video on half of the monitor and I cant see anything clearly
I was looking for this ❤ and those are cost expensive money, but u’re free ❤ God bless, will subscribe, and can u make app mobile link and control from app mobile as teacher …. Would be awesome 🎉🎉
Hello Lama! Thank you for your great content ! One question to you , can you also use rutube for uploading your video , cause in some Russian regions RUclips almost stopped working:(
Anyone having issues in calendar because I'm facing my big-calendar is blank for everyone's timetable and no data properly shown there anyone can help????
Thank you so much i have been leaning so much from you. is there a possibility of creating a project where we don't use third party authentication service and we design our own authentication?
For those who can join the channel to support Lama please do. He's delivered content that would otherwise be charged. His content is gold.
😍
Upvote this comment, make it pinned.
I agree, his content is unmatched. Thank you very much Lama.
offcourse.
Lama Dev, you are bread earner for new developer like me. Thanks
Of course 😍😍😍😍😍😍
No one has ever made something like this on RUclips big up bro
You're right bro. He's the best teacher on RUclips!!!
❤ I love following him.
Seems like you're looking for amazing projects. Look for Web Prodigies - SaaS builder, it is absolutely amazing.
I'm not saying this project is not cool. It is, and I love Lama Dev channel, but that one is worth checking out as well!
I am not trying to demote Lama Dev or anything. Just an opinion. Web Prodigies also makes great projects. Do check out their channel.
If you have problems cant access the sessionClaims
for following the tutorial in chapters NEXT.JS Protect Routes With User Role
2:35:06 - 2:36:06
export default clerkMiddleware(async (auth, req) => {
const { sessionClaims } = await auth();
you have to add the async and await functions because the clerk there using Promise to access that payload from sessionClaims
big love for you lamaDev for this precious tutorial
or you can adjust on your tsconfig.json file change the "target" value into this "target": "es2017",
brooo I spent my all day to figure out this problem. I even didn't think aysnc- await can solve this problem. Thank you !
I have a problem, when I access with the admin credential, it does not redirect me to Admin, it remains as localhost:3000/undefined, any solution?
did you already check for the sessionClaims is it already loaded? or check on the clerk dashbord for the admin user have you add the "role" on the metadata?
@@adwityobhagaskara when I used console.log, I can got the data, and showed my 'admin', but I do not know why always localhost:3000/undefined
I like your kindness for saying source code will be there in a couple of hours 🙌
iam waiting
Lama you are one of the best online teacher the way you explain only one word for outstanding. I always like and share your videos in my community. Keep up the awesome content
Full project Like this. Nobody never ever made like this. God Bless You
Wow, this tutorial is a game changer! 🙌 I’ve been looking for a comprehensive guide on building a full-stack school management app, and you nailed it! The role-based functionality is exactly what I need for my project. Your explanations are super clear, and the use of Next.js really highlights the power of modern web development. Definitely subscribing for more content like this!
Have you finished the full project? How was it?
No amount of support we could give to Lama that's up to the teaching is giving for free on here. God will reward you and please don't stop your good work. Thank you so much Lama
I was waiting for backend ❤️. Love from Bharath
Man i can't handle how much this guys is Pro in these !
Thank you for putting so much work and effort into this. Many blessings on you
The greatest video I've never seen.❤❤❤❤❤❤. I'm fear. How many years I need to learn that?😲😲😲😲You're so experimented Bro
Absolutely fantastic..
Next step Online food order with reatime updates and notifications for store owner!
Thanks!
Great video and a motivating person to teach the fundamentals of this library and language. Thank you for being so generous with your skills.
Thank you lamadev! You are one of own, Be blessed and may you never lack
Thank you. I've been waiting for the course.
A big thank you for posting such content for free! You are amazing!
Great lesson again, bro! I really appreciate your repetitive teaching style, as such a dumbass as me could finally learn something by typing a lot😅
I've been looking for this exact project. THANKS
Omg, I am doing this project right now as well, please do the learning front end site for student as well as teachers to do quiz, view documents, I believe this kind of project is very hard but exciting to do as well.
How is it going so far?
Nice UI my friend, congrats!
Lama, te mando saludos desde Argentina. Sos una gran inspiración y tu trabajo me ha ayudado muchísimo en el mío. Saludos!
You're awesome. Love your vids. So informative and interesting.❤
Lama another germ here 🎉🎉🎉🎉🎉 like your content from Kenya. 🎉🎉🎉🎉🎉
Thought I was the only Kenyan in this guys content
@EugeneKoech we are here together brother.
same here 🤣
haha you're neighbour here from Uganda
hai Lamadev, i am so really sorry i didn't do research properly. wish you all the best and get a great success soon !!
by the way, i am your new subscriber and i am so glad for finding your channel
Production grade content lama ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
Can't tell you how much this has helped me!
Wow, this is great.. it looks really nice
Absolutely , No words!! You are a SpringBok !!!!
Hi, ibhave been following your vidéo for quitte a long time. It has help me create valuable aps🎉❤
This is awesome. Thank you for making priceless video
I love the design, wonderful.can you help with the step to display at our end
Really incredible bro, thank you so much for this🎉
Hello everyone,
everyone is saying that this is a tutorial. My question is: What is missing from this project to be able to found a startup with it? What technical elements are still missing? For example, a database. I am quite new to the programming world and I’m not sure if this is just a tutorial or if it’s a project that can be directly deployed?
But perfect Job , thank you for this cotnent
I've been waiting for, thank you so much
very amazing complete video tutorial. Thank you.
Hello LamaDev, great tutorial. Thanks
Have you used Shadcn in any of your tutorials?
Thank you so much, you've got a new subscriber✅
I think it would be amazing if you put a link to see the project online 😍🙏
Thanks lamadev you are the best ❤
I have a problem, when I access with the admin credential, it does not redirect me to Admin, it remains as localhost:3000/undefined, any solution?
me too, did you solution it?
you guys solve it?, I've this problem as well
me too!
Sir can u also create app mobile login as teacher, student,... thank you ... part 2 please, also i want to buy u a coffee...
My man is cooking🔥
I made entire UI
Then half way through this 2nd part, i felt too bored - its just became very repetitive
I was curious about "role" handling more than anything else- which i figured. Interesting approach. - I am still skeptical about route protection - it doesnt look scalable - having array of role strings for each role.
Few type script errors here and there do get solved but they are such a turn off
I am going to create something animated and fun now.
Will get back to this when i feel like. One more to the bucket of unfinished projects
Did you finished? If so can you tell me what method you have used for Role Based Access
@nithishj7614 no haven't finished yet. But luckily, Sonny samjha just doesn't today new video for role based auth in next15
Olum çok iyi lan. Gurur duyuyorum böyle videolar görünce aq. Çok mutlu oluyorum (Ben de yazılımcıyım)
Wow! This is amazing. Thanks brother
i hope you create an lms like programming hub and solo learn where users could interact with the website by answering some questions through the course or where instructors could take quizzes from students...
I have no word to lama.
Thanks
For all the async components I get the error 'cannot be used as a JSX component. Its return type 'Promise' is not a valid JSX element.'.
I have found a way to dismiss the error by writing {/* @ts-expect-error Server Component */} before the component, but surely there's a better way ?
is there is academics year options?
Man. How did you become so good? I want to know your learning path
Such crazy dude. I wonder if you'll bring react native content in the future.
Heyli hub ast. Merci o`ho!
If my API is used by another client, mobile app for example, would you recommend creating a shared layer by handlers and server-side component to fetch/manipulate data ?
Anyone pls help me where can i deploy this project like vercel comment me pls
Could you let me know if we’ll need to pay for any services while following this course? I noticed some tutorials used paid options like Hostinger for MySQL databases. Are there other services we might need to pay for during this course?
Really Great!! But I would have given it 10 out of 10 if you had done it with Nextauth.
Hello lama
I really like your tutorial and teaching us
Kindly the next project will make an accounting application for small business on nextjs
my docker desktop is running the postgres image forever. What might be the issue?
Hey there. Will there be a 3 part with the messages notification, attendance, etc?
"Hello! I would like to suggest a very useful project for your channel: a complete school management software. It would allow for the registration of students and teachers, the inclusion of grades, tracking of school attendance, and also have a robust financial area. In this area, it would be possible to issue invoices for guardians, track payments, and generate the teachers' payroll. It would be amazing to see the development of a system with all these features, teaching step by step how to create a practical and efficient solution for schools!"
sir nicely explained, can we integrate same app
in android mobile.
Same doubt
What do you use to make the spaces like that, put the parentheses yourself, etc., because I leave them like that, next to each other, it looks messy and it's harder to read... :(
Hi Lama, thanks for the video ,
i am stuck in one place
53 minutes -
const TeacherListPage = async ({
searchParams,
}: {
[key: string]: string | undefined;
}) => {
const teachersData = await prisma.teacher.findMany({
include: { subjects: true, classes: true },
take: 10,
});
console.log("searchParams", searchParams);
I am not getting any output, its showing promise pending , can someone help me out
I like all your courses....can you please make a course on employee management system ?
thanks for including docker. Will you make a video on how to deploy this massive app? where's db hosted for example, i'm not sure that simple deploy on vercel will be enough to make app work
i need to place my .NET apis in server/domain(data coming from SQL) so i can i use form my website, which domain is the best for lesser price
I am trying to connect docker postgresql but it is not working please help me sir
Having the same problem. valid databse credentials
was experiencing the same problem. Try to remember the password and the user you used for the env when you were setting it up.
stop the one which is already running in your system!
Thank you for your content, I've been learning a lot from you. I have a question that isn't about this project. Would hosting on hostinger just like you did on this project handle an app with 20000 users?
I'm getting an error while deleting teacher, integrity issue of foreign key. Means when delete teacher it breaks the foreign key rule of becoz, in classes teacher must be present. So, I am not able to delete teacher which have assigned class's supervisor.
Thank you for your effort and for sharing your amazing work. Next I have one question that if you respond it ? How to generate Students card by student or class ?
thanks a lot but we missed out on the part that was supposed to cater for messages module
It was amazing learning a lot❤
Kindly make a part - 3 of this SMS (School Management System) application, where messaging, notifications and setting functionalities are implemented.
And btw thank you for delivering such awesome content.
Please like my comment so that the message reaches him.
I have a small challenge, when I try to login I get a blank page the dashboard is not displayed, with url :3000/undefined. Anyone to help ?!
Hi Lama Dev Thank you for this awesome Video but there is a problem with me at 2:35:23 there you use the line of code " const { sessionClaims } = auth(); " at middleware.ts. At my code under the " sessionClaims" there is a error and shows as "Property 'sessionClaims' does not exist on type 'Promise'.ts(2339)". if I have to fixed it like " export const getRole = async () => {
try {
const { sessionClaims } = await auth();
return (sessionClaims?.metadata as { role?: string })?.role;
} catch (error) {
console.error("Error accessing sessionClaims:", error);
return null; // Return null or handle the error appropriately
}
}; " then, there is lot more to change. So, rather then this can you help me out or did I committed any mistake at any point? Waiting for your respond @Lama Dev.
Same problem... only error: "Property 'sessionClaims' does not exist on type 'Promise'".
Me to stop with same problem...
I found a solution:
export default clerkMiddleware(async (auth, req) => {
// if (isProtectedRoute(req)) auth().protect()
const { sessionClaims } = await auth();
console.log(sessionClaims);
@@EuroRenta Thanks for this. It helped me too❤
Is it possible to build automatic timetable generation? If the admin just give teachers list and number of classes they will take per day
Hip hip hurray🎉❤
Amazing, thank you very much
Thank you. Sir I've a question. Will it helpful to make projects from tutorial?
congratulation , Thank you for your Great content
When is the back-end dropping Sir?
please use the font sze of visual studio code bigger when making tutorial.. cause we play your video on half of the monitor and I cant see anything clearly
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥first comment ... Good Job Lama
Is it require to responsive this type of huge dashboard with multiple charts ? Please reply me
How can you show how to start from scratch in vs code ? Because I didnt know how to get all this setup you originaly had in there.
Can’t thank you enough ❤.
Very good project, but why use typescript if the code is full of any type?
I was looking for this ❤ and those are cost expensive money, but u’re free ❤ God bless, will subscribe, and can u make app mobile link and control from app mobile as teacher …. Would be awesome 🎉🎉
Hello Lama! Thank you for your great content ! One question to you , can you also use rutube for uploading your video , cause in some Russian regions RUclips almost stopped working:(
Anyone having issues in calendar because I'm facing my big-calendar is blank for everyone's timetable and no data properly shown there anyone can help????
change the seed data to some recent dates or week and then it will appear
the month begin with (0, 1,2,....,11) for the January it will be 0 and November to 10
Please I tried uploading an image for the teacher and student but I noticed that the image is not been sent to the database
Please can anyone help with this, images are not sent to the database.
Thank you so much i have been leaning so much from you. is there a possibility of creating a project where we don't use third party authentication service and we design our own authentication?
Happy to see this! 👏👏
please add features like fee receipt print, markscard and transfer certificate download options
Thanx, it’s very interesting project
Hello Lama, in this tutorial is very informative but you forgot to explain about ATTENDANCE module in detail, i don't know why?
I know you said it's an App. Does it have a Web dashboard version
Its a website. A next.js web application.
Bro pease never stopeed❤
thanks a lott for your wonderful videos ... kindly we wait the source code for a good learning