This project is a web application built with an Angular frontend and a .NET backend. It provides a responsive user interface with data management functionality, and requires a setup of both Angular and .NET environments to run locally.
Ensure you have the following installed:
-
Node.js - Download and install Node.js.
-
Angular CLI - Install globally by running:
npm install -g @angular/cli
-
.NET SDK - Download and install .NET SDK.
-
Visual Studio and Visual Studio Code - for development and debugging.
Step 1: Clone the repository
git clone https://github.com/your-username/your-repository.git
cd folderStep 2: Install Angular dependencies Navigate to the Angular project folder - frontend/contactly.
cd folder
npm installStep 3: Restore .NET packages Navigate back to the root directory of the project then to backend- backend/contactly.
dotnet restoreStep 4: Databse Setup Be in Backend directory and run these commands
Add-Migration "Initial Migration"
Update-Database- Running the .NET Backend From the root of the backend project folder (where the .csproj file is located), run:
dotnet build
dotnet run- Running the Angular Frontend Open a new terminal, navigate to the ClientApp or frontend folder, and run:
ng serveThe frontend application should now be available at http://localhost:4200.
- Accessing the Application Visit http://localhost:4200 in your browser. The Angular frontend should communicate with the .NET backend to fetch data a
Technologies Used
- Angular - Frontend framework
- .NET Core - Backend framework