Placeholder Image

Subtitles section Play video

  • All right.

  • So welcome back to another stream.

  • Um, today, what we're gonna work on is the same thing that we've been working on for the last couple of Monday's.

  • And that is the productivity app.

  • So I'm gonna try Thio, get this all started off again for us.

  • Um, I think this is the one, and we're gonna run it too, On the simulator.

  • All right.

  • So I didn't stream last Monday because I was just too tired, actually, Stream.

  • Uh, so that's kind of why I did not stream that that Monday.

  • And that was also after the 12 hours straight stream, which it was a lot tougher than I thought it was gonna be and really like 12 hours isn't too much to actually be sitting coding like I've done that several times before, but just doing it in front of people and like knowing that there's people watching you.

  • It's kind of a different.

  • It's a different element to it.

  • So, uh, I was pretty tired after that, but let's take a look at where we were.

  • So this is essentially gonna be like, where we left off.

  • Ah, on the last stream.

  • We're on that 12 hour stream to do up.

  • What a wrong.

  • Okay, also, I don't know if I'm a running the I don't think running the server?

  • No.

  • Okay, so I'm not running the server after.

  • Start that up.

  • A swell, uh, new window as let's go into the right folder.

  • Projects my projects for all the activity.

  • Todo Okay.

  • And then which one did I think?

  • It's Python.

  • Hi.

  • Yep.

  • Okay, so that is the server is up and running.

  • That's good on you.

  • We are.

  • We've got our, uh, project up, okay.

  • So we can look out.

  • This is what we did last time.

  • So we built the log in screen, which is essentially Now, if we, uh, if we run the app to start, it will just show us this log in screen because we haven't logged in yet, and then we can use our use her name.

  • I think it was cow.

  • And I think the class where is just 123 Oh, shit.

  • I don't remember the password.

  • Um, okay, where did we have?

  • We can open up.

  • We can actually check this pretty easily by just going here and just doing so like star from you, sirs, I think.

  • Okay, so we have one.

  • You, sir, who's used to name is Cow on DDE.

  • Yeah.

  • So the password is Cal 123 Okay, so then we just go in to the lab paste that in here.

  • 1234 No cow.

  • 123 And then we sign in.

  • Okay.

  • All right.

  • So didn't sign us in.

  • Why didn't it sign us in?

  • Go see that they use her name is the same as well, so that we're not just doing a simple mistake of typing useful.

  • Wrong.

  • Okay, No, no cow.

  • And then, actually, cow, I want to 123 slide.

  • Okay, okay.

  • So we kind of have to fix that as well.

  • I think because right now the thing that didn't work was the fact that I typed in Cal.

  • So the user name and then I did a space because I did the space.

  • It didn't work.

  • So something that we need to do is, um, type in or do something that essentially removes the whole spaces so that if there's a space at the end, then it should remove that.

  • So that's a bug that we need to fix.

  • Let's actually bring up a new window here.

  • So we'll create a note just for all the like bug reports or something like that.

  • Bugs, Um, actually, and then save this US bug report.

  • Okay, So, Bug, um, typing Yusor name on pace space does noise your name on dhe.

  • They will have something like below that fix, um, removed.

  • Put 10 show spaces at the end off, um, whatever gets sent.

  • Okay, So that is then that bug reported somewhat.

  • And, um okay, so we have that.

  • And the next thing is going to be, too.

  • Once we log end, let's log in first.

  • I want to be free.

  • Okay.

  • So we should then get the list of tasks that this specific user has.

  • So we need to create something both on the back, inside and on the front inside for actually, like, adding a task and loading different tasks.

  • So I think real.

  • Start with the back end, and then just making sure that all of that works.

  • And then once that works, we can get into adding it to the U.

  • S phone.

  • Okay.

  • All right.

  • So he can't open up that for some reasons or not.

  • We need Thio.

  • Uh, download that again, I guess I don't know for a new front door.

  • So wrist, I have grievance told so I could just do that instead.

  • Grew brew CASS.

  • I stole a song.

  • Yup.

  • Okay, so a lot of people are like asking whether why I, um, started the stream late, I think I think the reason that you I think it's late is because it's, uh or in Sweden.

  • We've like, I think we pulled the time back an hour or something.

  • Maybe be pushed it forward.

  • Wait.

  • I always get confused.

  • So, like, where we go with the watches, like I think it's Yes, it's winter time right now, so we pull the time back an hour.

  • So if it would have been one o'clock my time Ah, a week ago, then right now it's 12 o'clock my time.

  • So we're essentially an hour earlier.

  • Which is why, if I say said that I'm supposed Thio Stream at two PM Central Europe.

  • I think I said one PM Central European time, then that my time would be Oh, I don't know Right now, At least it's two PM my time and I know that Central European time is usually one hour before my time.

  • So at 2 p.m. My time, it's usually one PM Central European time.

  • But now I think maybe it's the same.

  • We're not sure, anyway.

  • Okay, this is taking a long time to install.

  • I usedto insomnia to kind of test the AP.

  • I That's why I That's what I'm doing right now in reinstalling that because for some reason, that 10 1 open.

  • Um, okay, but let's continue with something else then.

  • So we have the back and open here we have our resource is record dot pie.

  • Okay.

  • This one.

  • Do it.

  • Okay.

  • On dhe, we have a project register.

  • Okay, Register.

  • I just have to kind of get back into where we were.

  • You sewed up.

  • I know you don't task.

  • Okay?

  • Model stopped by.

  • All right.

  • So we have tasks here.

  • We've created that model for the daughter base.

  • Let's see if we have it also in the post, Chris or in?

  • Yeah, let's see if it's been added.

  • So like, star.

  • Okay, so I think we do have it's ask here.

  • Yeah, So we have two tasks, um, for this user and that ISS note is Cal Holden and note here is law and completed his false repeats.

  • Uh, is something else deadline?

  • Okay.

  • I don't really know what this is or why or how it created.

  • Um, anyway, this is what God?

  • All right.

  • Hi.

  • Tasks test up.

  • I Okay, so we have Oh, yeah.

  • Okay.

  • So have something here and this ISS post decisional task.

  • I'm sorry, too, huh?

  • It seems like we might have already, um, done that part.

  • So I'm gonna try to check just to see what this looks like in the in the app right now, because seems like we may have built this already.

  • Somewhere on re order I'm trying to find, like where I Okay, I think I know where I created this.

  • Now I'm going to guess that I created okay, I'm a little bit split right now because I'm trying to get a couple things to work at the same time.

  • Um, so what I think I did?

  • First of all, let's just uninstall this and reinstall it again and see if it will work.

  • So I'm sorry that this is like, a little bit slow right now, but that's kind of what It's like when you're trying to set everything up again after not having looked at it for a week or two.

  • Okay, that's installing again.

  • I think what I did was when you use insomnia, you can do different FBI requests and you gotta test it out.

  • So I think I did like a test where I tested adding a new task via insomnia, and that's kind of how we can see it in the daughter base.

  • So that's where these tasks came from.

  • Is from just me basically testing at the A P I.

  • So then that means that we can add tasks.

  • Yeah, So here you go.

  • You see something?

  • Post register.

  • Okay, create a new one.

  • New request on this will be, uh, get tasks.

  • Maybe because I think the first thing that we're going to do is just getting all of the task that we already have is right now.

  • We don't have a weight, actually.

  • Add a new task within the hour if you press the ad button up here and nothing happens, but we have a way of displaying all the tasks.

  • So what we're gonna do is we're gonna make just a quick little get request here.

  • We're gonna test that and see if we can actually get Uh huh, Yeah, if we can get all of the test.

  • I think we already have this.

  • Um I'm not super organized about this thing.

  • It seems like so we need Thio rename this thing.

  • We can remove that.

  • However, yet look, a delayed click to confirm, huh?

  • Okay, then we want to rename this one.

  • How do we re name?

  • That's okay.

  • Renamed good s so that we can do the get requests for tasks.

  • We can get all the tasks.

  • And, uh okay, So what we get back?

  • Is this thing prepared to do so?

  • All right.

  • Okay.

  • Let me think.

  • Okay.

  • We're really running it again on DDE.

  • What?

  • She what?

  • We're what we're gonna work on today is then actually getting the tasks and displaying them here to the user.

  • So that means that it seems like that a p i or the Yeah, the back end part of that is already done.

  • Which means that we only need thio basically get all the tasks.

  • So let's see, build reorder ble or durable lists Task list.

  • Where do we have a task lists.

  • Okay, Get list.

  • So this is where you want to get the list of all the tasks?

  • No, this is gonna be a some sort off.

  • We need to do that.

  • Get requests first of all, and then we also need Thio.

  • Convert that into something.

  • So, firstly, classes task.

  • Do we have everything that we need completed?

  • Reminder.

  • Okay.

  • Completed deadline reminders.

  • No task.

  • Okay.

  • Mmm.

  • So the question, I think the only thing that I've left out is this part, which is the list of tasks.

  • Um, and that is something that we need to integrate on the back inside.

  • So we need some sort of relationship between the notes, um, so that we know, like, okay, this notes or this note has all of these notes and vice versa.

  • I like, since a note or a task can also have tasks or a list of tasks within it.

  • That means that we need have some sort of, like relationship between different tasks to be able to tell whether the task is like a main task or whether it's just a sub task to another task which I'm not quite sure how to do.

  • So the question is like, How do we formulate that question?

  • Relationships in daughter bases.

  • All right, wait.

  • Maybe this doesn't matter right now.

  • Um, task I d Okay, way Have a lot get test list.

  • Let's check out kind of how we where and how we did the different get requests.

  • So block resource is a P I register you, sir.

  • Depository.

  • Okay, when we create something similar here and we call this gift tasks get you, sir, tell us.

  • And what do we use to get that we used the A P I Q.

  • Okay.

  • You're so cool right now.

  • I'm just like, copying things that we've done previous previously and just really naming them essentially to what's the method is gonna be for getting getting this toe work or for what?

  • The method is gonna be t to get a little test that we wanted.

  • You want to get so on its tasks, we want to do a gift request.

  • We don't send any body at all.

  • All right?

  • Okay.

  • My soul's Jason doctors.

  • Okay.

  • Okay.

  • So here we need to Oh, no shit.

  • So we need to return.

  • This method essentially needs to return a list of tasks or all the tests that we have.

  • Um, which How do we do that task, Dr.

  • Jason Import that.

  • Mmm.

  • Because this one, if you look at this method, it returns a future You, sir.

  • But what we want to return is not a single item.

  • So we don't want to return just a single task, like so we want to actually return a list of past, which I'm not sure we can do.

  • Oh, wrong method.

  • So here, this one should return a list of tasks and mmm.

  • So we need to know kind of what we get back, daughter.

  • Okay, so the daughter here will give us this, which is an array of different items.

  • So then we want to basically blew through that ray and get a lot of tests on display them to the user.

  • Okay, so four.

  • Uh, hey, Sohn.

  • Um okay, so on in soul.

  • So I think that is kind of what the what are loop will look like something like that.

  • So then we can get J song into this method, and then we just need to create a list here of task, uh, times tinkles on your list and then test uh, return past like that.

  • Okay, um, so now we need to create from Jason Method within our task thing, actually, let's also create it here, so create this Publish subject you, sir