Skip to content

Cybertron2024/icecream-shop-api

 
 

Repository files navigation

Icecream Shop API

Icecream Shop API

Code for an Icecream Shop's REST API, containing some example vulnerabilities.

Getting started

Follow steps 1-3 to get started.

Step 1

dotnet restore

Step 2

If you don't have the EF core tools, run:

dotnet tool install -g dotnet-ef --version 7.0.0

Then (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 update

Step 3

dotnet run

Step 4

Navigate 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. Try to relate what is returned back to the code.

Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%