Included in Screenshots folder.
Search Movies and like and dislike movies.
- Clone Repository
- Install .NET 5 Sdk (Dotnet 3 will not work!)
- Install nodejs with npm
- Run in Terminal in API folder: dotnet tool install --global dotnet-ef (Make sure version 5+ installed)
- Restore unresolved dependencies for C# API by executing restore command or generate assets and run npm install from client folder for frontEnd Dependencies
- Drop Database: dotnet ef database drop
- Recreate Database: dotnet ef database update
- Start API from API folder by running from CLI: dotnet run.
- Might need to run, as well: Dotnet dev-certs https --trust (This will create an approved local host for https api, remove any previous local host certs to avoid issues)
- In Angular side within client folder run: ng serve
- Go to http://localhost:4200/ (DO NOT USE HTTPS - no certs available sadly)(Disclaimer - C# API call should be on https://localhost:5001/api/movie/ but if different port, adjust on client side in point.service.ts in dbUrl string)
Complete for version 1.
You might get assembly errors if .NET 5 is not default or primary. Please ensure .NET 5.0+ is installed! If you are still having MSBuild issues and you have Visual Studio Community installed aside from Visual Studio Code, you might have to install Visual Studio Community 2019 Preview.