From the course: Build with AI: Creating a SaaS MVP in One Day

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Verifying the API

Verifying the API

- [Instructor] So we finished creating the endpoints. But does it work? Well, it says cargo run to start the server. And that is kind of what I did. I'm going to show you these different tab that I have here. I did cargo run, so I went ahead and grabbed all of the dependencies. One thing to note here, when the dependencies are being added, make sure that you recognize the actual names. The large language model might be putting names there that you don't recognize, and that might be a window open to a potential vulnerability. If there's a thing called typo squatting where you have a typo and for example, a bad actor might have something like one of these libraries and say tower HTTPS or something like that, then you would say, ah, well that sounds like the correct one and introduces the vulnerability. So be sure that you recognize those. I do. And so I'm very happy with that. So it downloaded all the dependencies, installed everything, compiled everything and says, Hey, I have a…

Contents