To Do List in Angular | Angular tutorial

  Рет қаралды 74,822

Code Logic

Code Logic

Күн бұрын

#angular #jsonserver #crud #todolist
Hello everyone,
I have created this video for the basic understanding of angular. In this video, I have created a To Do List application. In this video, you will angular concepts like creating components using CLI, form handling, HTTP service calls. Also, I have used JSON-server to store, edit & retrieve data.
Source code : github.com/cod...
Other Projects :
Employee Management System : • Employee Management Sy...
URL Shortner : • URL shortener | URL s...
Multi User Auth system : • Multi User Login System
Social media Handle :
Instagram : / _codelogic_
Thank you.

Пікірлер: 78
@anthonyrodriguez2570
@anthonyrodriguez2570 Жыл бұрын
JSON-Server needed to be installed with npm install -g json-server
@vijaysekharvn
@vijaysekharvn Жыл бұрын
simple and sweet example thank you for your time
@omgodase5770
@omgodase5770 5 ай бұрын
thanks man had to show something in angular in urgent and this short and simple also the code works just fine
@mahakagrawal107
@mahakagrawal107 8 ай бұрын
Thanks for step by step guide for the project
@SameerAbbasMughal
@SameerAbbasMughal 9 ай бұрын
Best Video for beginner ❤❤❤❤
@ginoqie2bg14
@ginoqie2bg14 Жыл бұрын
super video very helpfull thank you
@far-xz8yt
@far-xz8yt 11 ай бұрын
I am having an error in the web browser as an pop up which shows, " localhost:4200 says 'Unable to get list of tasks' " and in the web browser what we can see is only the To Do List heading in the yellow background, the input field with the "+" symbol and below that the heading "Tasks". That's all. Please help
@anilsrirangam
@anilsrirangam 10 ай бұрын
any solution?
@adarshdhital007
@adarshdhital007 Жыл бұрын
Now , how can I publish this site. I published it using vercel, but the db.json is not working for it.?
@venkatsomanath9608
@venkatsomanath9608 8 ай бұрын
db.json file is not getting created
@SagarShirke09
@SagarShirke09 7 ай бұрын
Check it has reference in todo component.ts file
@amoldongarwar1989
@amoldongarwar1989 Жыл бұрын
how you remember every class and bootstrap style??
@coading3624
@coading3624 2 жыл бұрын
json-server : The term 'json-server' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 What to do ??
@CodeLogicByPrajyot
@CodeLogicByPrajyot 2 жыл бұрын
Need to install json server
@rahulgoel8572
@rahulgoel8572 2 жыл бұрын
npx json-server --watch db.json use this faced same just now and resolved
@vibhorthakur4835
@vibhorthakur4835 2 жыл бұрын
First you need to install json server globally unlike in the video where we install it locally by using: npm install -g json-server
@AHari-uu1tn
@AHari-uu1tn 2 жыл бұрын
@@vibhorthakur4835 thanks brooooo
@infouniverse1728
@infouniverse1728 Жыл бұрын
@@rahulgoel8572 I TRIED BUT DB.JSON COULDN'T BE CATCHED ANYWHERE
@vimalpratap766
@vimalpratap766 2 жыл бұрын
Very helpful 👍 thanks
@Asus-f5t
@Asus-f5t Ай бұрын
delete is now working showing invalid ID
@shivamd27
@shivamd27 Ай бұрын
Good . But it is not for beginners. He explained it very shortly and assumed that all concepts are clear. But if you know angular then it's nice . You can refer
@indhugomindhugom1626
@indhugomindhugom1626 8 ай бұрын
What are the software or programming language used here
@SagarShirke09
@SagarShirke09 7 ай бұрын
Angular
@collegeduniaeducation3015
@collegeduniaeducation3015 2 жыл бұрын
Sir Object Add Nahi Ho Raha Hai Todo List May
@phongtranquoc7557
@phongtranquoc7557 9 ай бұрын
why the modal button not working, pls help
@isurubandara4188
@isurubandara4188 Жыл бұрын
Thanks a lot!!!! 🤩🤩
@sheikmahbs424
@sheikmahbs424 2 жыл бұрын
Hi , when we are adding ng model to get task_name unable to get error is get url-link 404 (not found) ? why is this so... its not getting add in list
@CodeLogicByPrajyot
@CodeLogicByPrajyot 2 жыл бұрын
May be url is not defined
@sheikmahbs424
@sheikmahbs424 2 жыл бұрын
@@CodeLogicByPrajyot same fake json has been added
@zombieelghoufairi3271
@zombieelghoufairi3271 8 ай бұрын
thank you my brother
@neeshaneesha4889
@neeshaneesha4889 Жыл бұрын
My visual studio code is not updating in browser, can anyone tell y , even after completing everything it still shows as “dashboard works ”
@giridharpatro5239
@giridharpatro5239 Жыл бұрын
When i try to add item error getting display any reason please tell me i have wrote same code
@anandk3807
@anandk3807 Жыл бұрын
can we get the data entered in our WEB Application..
@vishnupriyakolluri9644
@vishnupriyakolluri9644 Жыл бұрын
I am getting error in observable
@mamidiusha6873
@mamidiusha6873 Жыл бұрын
I am also getting error on Observable
@pratikyesankar3668
@pratikyesankar3668 Жыл бұрын
Good video. I took your code from github and run it in vs code but not taking input , can you tell why?
@neesha_295
@neesha_295 Жыл бұрын
same problem
@rupallonare7649
@rupallonare7649 Жыл бұрын
mera bhi work nhi krra
@nosnayp9897
@nosnayp9897 Жыл бұрын
👍👍👍👍👍
@apporvjaiswal9678
@apporvjaiswal9678 Жыл бұрын
How will you run this application after cloning it from your github?
@rohit6987
@rohit6987 Жыл бұрын
npm install - install all packages, ng run - run the application, you can run the app
@srinidhir4945
@srinidhir4945 Жыл бұрын
The best
@andreray1795
@andreray1795 Жыл бұрын
great
@jessicabethayolanda5898
@jessicabethayolanda5898 2 жыл бұрын
why in dashboard.component.ts the write subscribe becomes crossed out. Error appeared : Observable.d.ts(52, 9): The declaration was marked as deprecated here.
@RolynKiunisala-jm7ll
@RolynKiunisala-jm7ll Жыл бұрын
Same here can't resolve it
@oreoluwaakinsete764
@oreoluwaakinsete764 Жыл бұрын
same here too, as anyone gotten the solution to the subscribe crossed out
@oreoluwaakinsete764
@oreoluwaakinsete764 Жыл бұрын
i got the solution to the subscribe but on my angular localhost4200 my tasks are not adding to the todo list- here is the solution- getAllTask() { this.crudService.getAllTask(this.taskObj).subscribe({ next: (res) => this.taskArr = res, error: err => { alert("unable to get list of tasks") } },) } addTask() { this.taskObj.task_name = this.addTaskValue; this.crudService.addTask(this.taskObj).subscribe({ next: res => { this.ngOnInit(); this.addTaskValue = ''; }, error: (err) => { alert(err); } } ) } if i find more solutions i will share
@GamingDudeKJFM79
@GamingDudeKJFM79 2 жыл бұрын
Error is coming ,..like only arrays and iterables are allowed
@CodeLogicByPrajyot
@CodeLogicByPrajyot 2 жыл бұрын
Might be some code writing errors .
@surajbadole7949
@surajbadole7949 Жыл бұрын
Unable to get list of tasks error aa rha hai bro
@far-xz8yt
@far-xz8yt 11 ай бұрын
bro did you solve the problem. I am also having the same issue
@RAHULSINGH-ct4hn
@RAHULSINGH-ct4hn 2 жыл бұрын
it also add blank data when i click add task btn
@CodeLogicByPrajyot
@CodeLogicByPrajyot 2 жыл бұрын
You can handle that condition if data is empty you can raise an alert
@panchalritul8515
@panchalritul8515 5 ай бұрын
Bro I can't find db.json file missing
@samabhishek3956
@samabhishek3956 3 ай бұрын
same problem did u solve it
@arunvishwakarma2779
@arunvishwakarma2779 19 күн бұрын
Simply create db.json file with empty braces({ }), this should do
@laimayumdayal1047
@laimayumdayal1047 2 жыл бұрын
Getting alert unable to get list of task
@CodeLogicByPrajyot
@CodeLogicByPrajyot 2 жыл бұрын
Something must have gone wrong
@vibhorthakur4835
@vibhorthakur4835 2 жыл бұрын
when you enter "json-server --watch db.json" dont delete this terminal then enter "ng serve" in new terminal This solved my problem.
@AndrewsTutorialMix
@AndrewsTutorialMix Жыл бұрын
@@vibhorthakur4835 Thanks a lot...It works😊
@surajbadole7949
@surajbadole7949 Жыл бұрын
@@vibhorthakur4835 bro kaise kiya plz help me
@far-xz8yt
@far-xz8yt 11 ай бұрын
did you solve the issue?
@manibharathi7286
@manibharathi7286 5 ай бұрын
is Delete works anybody?
@violetchuene762
@violetchuene762 3 ай бұрын
It is not working
@xaglex1392
@xaglex1392 11 ай бұрын
bhai smjha to sahi yr
@SURYA.R-w6m
@SURYA.R-w6m 11 ай бұрын
Observable error
@shubhamtambade2232
@shubhamtambade2232 11 ай бұрын
project is run now ?
@chandrashekarkonathala2951
@chandrashekarkonathala2951 Жыл бұрын
Showing some error while typing Observable , it is not even taking that function, Can you help me in that? import { Injectable } from '@angular/core'; import { HttpClient, HttpClientModule } from '@angular/common/http'; import { Task } from '../model/task'; @Injectable({ providedIn: 'root' }) export class CrudService { serviceURL : string ; constructor(private http: HttpClient) { this.serviceURL = "localhost:3000/tasks" } addTask(task : Task) : Observable }
@CodeLogicByPrajyot
@CodeLogicByPrajyot Жыл бұрын
I think you have not imported observable
@chandrashekarkonathala2951
@chandrashekarkonathala2951 Жыл бұрын
One more error while Expected 1 arguments, but got 0.ngtsc(2554) dashboard.component.ts(11, 5): Error occurs in the template of component DashboardComponent. update The editTask not recognizing!
@raviparmar6900
@raviparmar6900 2 жыл бұрын
When i am try to update task , i got error , when i check in console they said put localhost:3000/task/0 404 (not found)
@CodeLogicByPrajyot
@CodeLogicByPrajyot 2 жыл бұрын
May be method declaration is wrong. Check once again, if url type is correct i.e. put not post
@raviparmar6900
@raviparmar6900 2 жыл бұрын
@@CodeLogicByPrajyot can i deploy this site on heroku?
@marvinchang2968
@marvinchang2968 Жыл бұрын
inside call(etask:Task) function, etask should be given to this.taskObj. Maybe you can check it again?
Angular 14 - Быстрый Курс [2022]
1:58:58
Владилен Минин
Рет қаралды 222 М.
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 52 МЛН
Build Your First ANGULAR Web app ~ Beginner Angular Todo app
30:29
Tyler Potts
Рет қаралды 118 М.
To-Do List in Angular with source code in GitHub.
37:37
DK Programming
Рет қаралды 30 М.
Reactive Form Validation in Angular: Mastering Best Practices
13:08
Monsterlessons Academy
Рет қаралды 6 М.
Angular 12 tutorial in Hindi #25 Todo list in angular
9:43
Code Step By Step
Рет қаралды 63 М.
3 Javascript Projects Every Beginner Should Build
1:30:01
Lama Dev
Рет қаралды 84 М.
What’s new in Angular v18
20:08
Angular
Рет қаралды 123 М.
Angular To Do List App in 30 Minutes
34:09
CodAffection
Рет қаралды 18 М.
Senior Angular Developer Interview (theory)
41:57
WeCoded
Рет қаралды 20 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 187 М.
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН