API for learning Angular
From this course: https://www.udemy.com/course/real-world-app-angular-aspnet-core-web-api-and-sql/
You must also clone this repository and follow the setup: https://github.com/GregFinzer/CodePulse.UI
https://dotnet.microsoft.com/en-us/download
Or Install with Chocolatey
choco install dotnet-7.0-sdk
https://visualstudio.microsoft.com
Choose workloads
- ASP.NET and Web Development
- Data Storage and Processing
Or Install one of these with Chocolatey
choco install visualstudio2022community
choco install visualstudio2022professional
choco install visualstudio2022enterprise
Then install the workloads with Chocolatey
choco install visualstudio2022-workload-netweb
choco install visualstudio2022-workload-data
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
Choose Basic
SQL Server Management Studio
Or install with Chocolatey
choco install sql-server-management-studio
Database.NET
https://fishcodelib.com/database.htm
Or install with Chocolatey
choco install databasenet
- In Visual Studio Open the NuGet Package Manager Console.
- Run the command:
update-database -context "AuthDbContext"
- Run the command:
update-database -context "ApplicationDbContext"
- In SSMS or Database.NET run the script that is in the path: scripts\seeding+blogs.sql
Click the play button in Visual Studio to bring up the Swagger for the application. The Get endpoints do not need authorization but the Post, Put, and Delete operations require an authorization token. You can use postman to login and get the token and then use the Post, Put and Delete endpoints.
The admin user is:
User Name: admin@codepulse.com
Password: Password1!