This is a CRUD (Create, Read, Update, Delete) project with the front-end in Angular and the back-end in C# .NET 6. The project allows you to register superheroes and utilizes an API to connect to the SQL Server database.
- Angular
- C# .NET 6
- SQL Server
To run the project locally, you'll need the following tools and dependencies installed:
- Node.js (https://nodejs.org/)
- Angular CLI (https://angular.io/cli)
- .NET 6 SDK (https://dotnet.microsoft.com/download/dotnet/6.0)
- SQL Server (or a running instance of SQL Server to connect to)
- Open a terminal and navigate to the "AngularClient" directory inside the project.
- Run the
npm install
command to install the front-end dependencies. - Run the
ng serve
command to start the Angular development server. - Open your web browser and go to
http://localhost:4200/
to see the application running.
- Open the Visual Studio solution inside the "DotNetAPI" directory in the project.
- In Visual Studio, set "DotNetAPI" as the startup project.
- Ensure that the SQL Server connection string in the
appsettings.json
file is properly configured. - Run the application by pressing F5 or clicking the "Run" button in Visual Studio.
This project is licensed under the MIT License.