- Run the following command
dotnet restore - Open an editor and configure the connection string on
appsettings.json
"ConnectionStrings": {
"AbstractConnectionString": "server=DESKTOP-4T30FEI\\SQLEXPRESS;database=demoapp;Trusted_connection=true"
},- Run the command
Update-Databaseto migrate EF to your SQL server - Run command
dotnet runto start the project
the API will now run at http://localhost:44374/swagger/index.html
[POST] https://localhost:44374/api/Movie/Search
{
"userId": 1,
"search": "superman"
}