diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45a6b2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +WebApplication4/bin/ +WebApplication4/obj/ diff --git a/.vs/WebApplication4/FileContentIndex/08cde9c0-2d1d-4802-84dc-be9b605fee04.vsidx b/.vs/WebApplication4/FileContentIndex/08cde9c0-2d1d-4802-84dc-be9b605fee04.vsidx deleted file mode 100644 index f7e8b33..0000000 Binary files a/.vs/WebApplication4/FileContentIndex/08cde9c0-2d1d-4802-84dc-be9b605fee04.vsidx and /dev/null differ diff --git a/.vs/WebApplication4/FileContentIndex/1e2631b8-c609-4985-b530-b98bc66c72c0.vsidx b/.vs/WebApplication4/FileContentIndex/1e2631b8-c609-4985-b530-b98bc66c72c0.vsidx new file mode 100644 index 0000000..6ab10e5 Binary files /dev/null and b/.vs/WebApplication4/FileContentIndex/1e2631b8-c609-4985-b530-b98bc66c72c0.vsidx differ diff --git a/.vs/WebApplication4/FileContentIndex/b5bfebb0-2011-402c-b524-e44301811df8.vsidx b/.vs/WebApplication4/FileContentIndex/b5bfebb0-2011-402c-b524-e44301811df8.vsidx new file mode 100644 index 0000000..083baa9 Binary files /dev/null and b/.vs/WebApplication4/FileContentIndex/b5bfebb0-2011-402c-b524-e44301811df8.vsidx differ diff --git a/.vs/WebApplication4/FileContentIndex/c9eca75b-258d-4d1a-a346-34d68db0b055.vsidx b/.vs/WebApplication4/FileContentIndex/c9eca75b-258d-4d1a-a346-34d68db0b055.vsidx deleted file mode 100644 index 5f48bb5..0000000 Binary files a/.vs/WebApplication4/FileContentIndex/c9eca75b-258d-4d1a-a346-34d68db0b055.vsidx and /dev/null differ diff --git a/.vs/WebApplication4/FileContentIndex/de801e4c-827b-4f9f-82a8-e819db7832dd.vsidx b/.vs/WebApplication4/FileContentIndex/de801e4c-827b-4f9f-82a8-e819db7832dd.vsidx deleted file mode 100644 index de68e7f..0000000 Binary files a/.vs/WebApplication4/FileContentIndex/de801e4c-827b-4f9f-82a8-e819db7832dd.vsidx and /dev/null differ diff --git a/.vs/WebApplication4/FileContentIndex/ee3a39f9-d7b5-454d-8e68-f30ae9a438b7.vsidx b/.vs/WebApplication4/FileContentIndex/ee3a39f9-d7b5-454d-8e68-f30ae9a438b7.vsidx new file mode 100644 index 0000000..e1f47a5 Binary files /dev/null and b/.vs/WebApplication4/FileContentIndex/ee3a39f9-d7b5-454d-8e68-f30ae9a438b7.vsidx differ diff --git a/.vs/WebApplication4/v17/.suo b/.vs/WebApplication4/v17/.suo index c72adef..a06854f 100644 Binary files a/.vs/WebApplication4/v17/.suo and b/.vs/WebApplication4/v17/.suo differ diff --git a/Readme.md b/Readme.md index d49239e..6a63761 100644 --- a/Readme.md +++ b/Readme.md @@ -13,7 +13,7 @@ Run: update-database ## Using the Api -The root url of the app will lead you to the Swagger documentation where details of all endpoints could be found there. +The https://{rooturl}/swagger of the app will lead you to the Swagger documentation where details of all endpoints could be found there, where rooturl is the url that the app can be reached. ### Authentication Use the register endpoint to register a user, and you'll get back a token which you can use to authenticate by using the Authorization header in your requests. diff --git a/WebApplication4/Program.cs b/WebApplication4/Program.cs index 4ded2f5..64d8bff 100644 --- a/WebApplication4/Program.cs +++ b/WebApplication4/Program.cs @@ -96,7 +96,7 @@ var app = builder.Build(); // Configure the HTTP request pipeline. -if (app.Environment.IsDevelopment()) +//if (app.Environment.IsDevelopment()) { app.UseSwagger(); app.UseSwaggerUI();