Code for an Icecream Shop's REST API, containing some example vulnerabilities for educational purposes.
You don't necessarily need to clone or download the code to get started. You can simply click through the files and start finding vulnerabilities.
If you're working on an activity that requires you to run the code, clone this repository, open it up in Visual Studio Code, and use the built-in terminal to complete the following steps:
dotnet restoreIf you don't have the EF core tools, run:
dotnet new tool-manifestdotnet tool install dotnet-efThen (or straightaway if you already have the tools), run:
Note: You may need to close and then re-open Visual Studio Code before running the next command.
dotnet ef database updatedotnet runNavigate to http://localhost:5001 to view the Swagger (interactive documentation for the API).
Use the Seed endpoint to seed the database and then experiment with the different endpoints.
