Skip to content

This is the Angular frontend of the Phonebook Application, designed to interact with a .NET Core Web API backend. It allows users to manage their phonebook contacts efficiently with a user-friendly interface powered by Angular Material.

Notifications You must be signed in to change notification settings

ssoosi/phoneapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± Phonebook App (Frontend - Angular and Backend .NET)

This is the Angular frontend of the Phonebook Application, designed to interact with a .NET Core Web API backend. It allows users to manage their phonebook contacts efficiently with a user-friendly interface powered by Angular Material.

App Screenshot

βš™οΈ Technologies Used


πŸš€ Getting Started

πŸ“¦ Prerequisites


πŸ“¦ Project Structure

project-root/
β”‚
β”œβ”€β”€ PhonebookApi/ # .NET Core API backend
└── phonebook-angular/ # Angular frontend

▢️ How to Run the Project

1️⃣ Start the Backend (.NET Core API)

  1. Navigate to the PhonebookApi directory.

  2. Restore NuGet packages:

dotnet restore

Run the Web API:

dotnet run

This will start the backend server at:

The main API endpoint for contacts: https://localhost:5209/api/contacts

πŸ§ͺ Swagger Documentation: Visit the Swagger UI at πŸ‘‰ http://localhost:5209/swagger/index.html

2️⃣ Start the Frontend (Angular App) Navigate to the phonebook-angular folder.

Install dependencies:

npm install
ng serve

http://localhost:4200

🧱 Angular Material Modules Used MatTableModule

MatFormFieldModule

MatInputModule

MatIconModule

MatButtonModule

MatDialogModule

MatToolbarModule

MatCardModule

MatSnackBarModule

✨ Features βœ… Add new contacts

βœ… Edit and delete contacts

βœ… Display all contacts using Angular Material table

βœ… Modal-based form dialog for create/update

βœ… Form validation and user-friendly feedback

βœ… Responsive UI with Angular Material

πŸ“‚ Folder Structure (Angular)

src/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ contact-list/
β”‚   β”‚   └── contact-add/
β”‚   β”œβ”€β”€ services/
β”‚   β”‚   └── contact.service.ts
β”‚   └── app.module.ts
β”œβ”€β”€ environments/
β”‚   └── environment.ts
└── main.ts

About

This is the Angular frontend of the Phonebook Application, designed to interact with a .NET Core Web API backend. It allows users to manage their phonebook contacts efficiently with a user-friendly interface powered by Angular Material.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published