Create a To-Do App with Next.js 13: Learn CRUD Operations and Tailwind CSS UI
HTML-код
- Опубликовано: 5 апр 2023
- In this video, we will learn how to create a simple To-Do app using the new Next.js 13 App Router. I'll show you how to perform CRUD operations with json-server and use Tailwind to create a beautiful UI
👨💻Code:
[link code]
🔗Source:
[nextjs 13 docs] beta.nextjs.org/docs
[json-server] github.com/typicode/json-server
[tailwindcss] tailwindcss.com/docs/guides/n...
[daisy ui] daisyui.com/components/
[react-icons] react-icons.github.io/react-i...
[uuid] github.com/uuidjs/uuid
👋🏻Contact Me:
canddev.vercel.app/
🌎 Find Me Here:
Instagram : / candra_kriswinarto
GitHub: github.com/candraKriswinarto/
Linkedin: / candra-kriswinarto
#programming Наука
You can clone the final code in this URL: github.com/candraKriswinarto/simple-todoapp-with-next13.
This is a really helpful one in terms of a beginner, thanks and keep up the good work!
Love your tutorial, you guide very clear. You saved my day :)
Love it! Simple and good tutorial for me to get back into coding. Would love a follow up video with more advanced design and client - server hosting on e.g. firebase, would be super beneficial and more useful for real projects. Subscribed!
smooth and clean , i've been subscribed ! ty
Excellent tutorial especially using the useState hook and useRouter hook.
just what i'm looking for. also your code is clean and easy to read. i'm hooked, subscribed. cant thank you enough
Thanks a lot! I was struggling until I see this video
This is an amazing tutorial. Greetings from Chile.
Very helpful , want to more video this type of package. thank you
Easy way Explained, Excellent, Thank you so much Sir.
thank you, you explain very well, I'm easy to understand,, nice video 👍
I would like to thank you for making the tutorial so easy to follow, even for someone with my poor English. It helped me a lot!
So happy to hear that, thanks 🤍
Thank you very much. Very helpful and detailed sharing
cooool, nice tutorial. Thanks
Thanks a lot. it very helpful for me.
thanks god you are here
awesome, thank you very much
Thank you sir !
Good one!
Thank You Brother.❣❣
Best tutorial ^^
thanks for lesson
Nice Video bro
where code ?
while iterating over tasks prop in TodoList I keep getting this error - map does not exist on type TodoListProps not sure why this is happening to me I did exactly the same
Epic tutorial, I don't need to buy a course🎉
Yeah, it's free... but you gotta subscribe. Think of it as a 'thank you' tax 😁
router.refresh() is not working on my side, even it is not showing any warning or errors, completely followed your code as per importing and cache: no-store
great project. can you share the source code?
Please make Typescript with react video 🙏🙏
Following your guide now. Just in this moment. And I have a question: why TS? You didn't use TS in another project. What's the reason?
Yes, I just learned TypeScript and I am trying to implement it in this video. The reason I like to use TypeScript is that it is a superset of JavaScript and has additional features.
@@CandDev thanks for your reply :)
Thanks a lot. Any idea how to use "useId" hook instead?
Yes, you can use the 'useId' hook to generate unique IDs. It's a new feature in React 18.
Can I host this code in vercel? Then what will be the fetching api?
Can you upload the code
Will there be a problem if i installed -g json server instead of -d json server? Because I'm having a 500 response for the status code of addTodo. Please enlighten me. Thank you.
This was an amazing tutorial. I had a question, how can I host this app with vercel or netlify? As the todos.json file was just running on the server with the json-server. How can I host it to web?
same question
@@StarKing18021995 Hey, I figured it out that how to do it.
I took reference from here:- ruclips.net/video/wN0n2gj0z9o/видео.html
I have found a way to fix it, you can refer to it ruclips.net/video/5N38jARjBIM/видео.html
@@0xPrakharG OMG >O
unable to display data on UI when I type something & click on submit button
can you make with fastapi using python nextjs14
Why not use prisma
Please upload the code
Hi, kindly give us the source code link, thanks.
But if i want to deploy this on web? what should we use instead of json-server?
did you got anything about the same?
@@RohitSingh-qf6pk yes, I've parsed json-file into array and uploaded that array into firestore database....
@@SuzukaTheBest okay thanks
You can create your own node js express server, with your own data. Connection to mysql db.. or mongo or everything you need
Link to the code please?
Is api.ts like api/route.js?
No, it's different. In route.ts, you can create API route to handle API requests, and the file should be named route.ts to make it work. On the other hand, api.ts is just a file that helps you send requests to the API route. happy coding 👨💻