Todo App using Rest API | CRUD App | Flutter English Tutorial
HTML-код
- Опубликовано: 3 июл 2024
- Build Todo App and store the task on the real server. We have a flutter application which does all the four common operations like Create, Read, Update, Delete(CRUD)
Timeline
00:00 01:10 App Demo
01:10 05:20 Rest API Swagger
05:20 10:40 Building User Interface
10:40 21:30 Create Todo Task [POST]
21:30 26:45 List All Todo [GET]
26:45 30:00 Create Todo Task [Refresh Indicator]
30:00 36:25 Create Todo Task [DELETE]
36:25 45:48 Edit Todo Task [PUT]
45:48 60:01 Code Refactoring
Facebook: / nitishk72
LinkedIn: / nitishk72
Patreon: / nitishk72
GitHub: github.com/nitishk72
Concise tutorial and very well paced! Keep up the good work :)
Thanks, Buddy !! This video was really helpful for me. Your way of programming is really awesome. Cheers !!
eh, this is phenomenal. your coding skill and speed is just so captivating bro.
Thanks, Buddy !! I am new to flutter and want to learn more about flutter and this video was really helpful for me. Your way of programming and explain is really awesome.
Thank you very much. I needed this in order to understand how to interact with an API in Flutter
Amazing tutorial video!
Thank you sir, you make flutter very easy for me. Thanks again sir. ❤
Nice Tutorial Nitish...Great thanks.
thanks man for this amazing toturial.
great explanation! thanks for the tutorial.
congratulations for the work, I am very grateful :)
The Best..... Thank you so much for sharing.
I also done this application actually I really appreciate you for share your valuve knowledge for everyone i really thankyou and keep it up continually.
Thanks, Excellent explanation and understandable
thank you bro
i am form UZBEKISTAN
Clean work thank you
Thank you for this content. Keep it up. This is very helpful 👍🏻👌🏼
Glad it was helpful!
thank you so much , good work
wow! excellent! thanks!
very helpful video
sir i was watching so many video but i was 't able to clear understing , now your api playlist watched i can say i can do any api task thank for created , sir make also firebase playlist because your teching method so easy , i will be waiting for firebase playlist (auth, firestore , could message, stroge)
Thank very much.
Thanks and God Bless
Thank you very much, very clean and easy to understand video. one improvement is to make the submit button, to submit the data and navigate back to the todoList page and also refresh the list automatically,
Yes, you are right
Nice video I like it
Thanks
This is very helpful .
can you create one more tutorial of crud operation with API using riverpod
nice
wait next video pagination , thank you
Hello i was looking in your git repository there is a project called movies app is there any video available for it ..?
how to add an image in this form and store it in the database
I have one problem, when i save new todo its return an error: InternalError: Expression evaluation in async frames is not supported.
Thanks for your sharing Sir !!! (hats off)
I am new to flutter and want to learn more interesting about flutter.
if you don't mind, can I have access to the source code?
Did you use any state management in this project?
hey there i really admire your work can you please make a video on phone number authentication using post api i cant find a better video on it.
The list is not appearing on my todo page😢
Kindly provide a tutorial about CRUD with flutter provider state management rest APIS
Im facing one error,
1. while entering new todo task when i go back to the todo list, the list becomes empty on its own or
2. sometimes when i refresh the whole todo list is gone
3. while entering more than one todo task, the task i added last is only displayed on the list and all the previous todo tasks are gone
for example: i add item 1, item 2. by the time i submit item 2 and go back to todo list, item 1 is deleted/no longer there in the list .
Please help me to clarify this doubt, Thank you!
Please provide github link of this code.
Hi, thank you for this. It really helped me a lot. Would it be possible if we will have a single class that will handle all the requests of different endpoints? Like a base controller that will automatically read the whole body of a request to make the code much shorter? And also can we have a base url so that we can call the endpoint like this .get('/todos') ?
I am glad you liked it and it helped you.
It is possible to improve the code quality by implementing a baseurl, however, the primary focus of this video is to demonstrate CRUD operations in a simple manner and to emphasize the importance of writing readable code. I hope you understand this very well.
@@NitishKumarSingh Ofcourse I do! I have another question, about creating models and serialization. What is the purpose of that if you can just send the data to the api directly in a variable as an object and encode it as json? I mean whats the difference? What if I have lets say 30 fields in just one table in database, should I write all of the fields in a model class ? I'm just little confuse about creating models
j' ai cherchée sur votre github code source mais je ne l'ai trouvé pas svp pouvez vous me donnez lien
*Asslam O Alaikum sir there is an api for sign up and login. I know that there are more apis like fake api this is just put url and set up for login but i want like real rest api where i make model and get token and so on.*
Hi ..I'm in new flutter try building todo app following your video >: can't work the print option in ElevatedButton plz guide me...
I think you might be having some syntax error!
Does it have an api?
Source code?!
swagger ui ka post req me 400err bata rha hai plzz help
Hi Nitish, very nice video, can you please share the source code, thanks
theme vscode. Thank bro
repo please
Source code please
I dont think there was a need to integrate an api for a todo app..we can directly use it with CRUD
Will this API endpoint remain available for future also ?
Yees, still works
please give source code
how can u add a search bar to search the items from the list by using title and display it using the same API. In this project.
can any one reply for this
write us at “yt.nstack@gmail.com”
Loved the video easy to understand... But am having some issues, 1. When I try to get back my data it doesn't return the full list rather each item appear separately. Each time I add a to do, it separates them.
2. I can't delete any of the items I added to my list
I’m glad you like it.
1. What URL you use to all the data?
2. Are you using delete method to delete the item?
@@NitishKumarSingh i opened a new editor and managed to get it working, i think the problem had to do with me deleting the APIs in swagger after i had copied them. Thanks
Pls send source code ☺️
You are typing too fast without explaining, you are just reading what you are typing, no explanations, non beginner friendly.
Wouldn't recommend this tutorial as a beginner friendly tutorial.
Loved the video sir!! As a beginner I found it so helpful. Though I have one doubt. After adding a few tasks, when I come back on homepage, and refresh it, the list contains no items. Can you please guide, what is going wrong here?
@Nitish Kumar SIngh
Thanks
nice