Skip to content

Practice Task: Simple Phone Book using React (TypeScript) and C# ASP.NET Core with Entity Framework Core and SQLite Database

Notifications You must be signed in to change notification settings

Krapic/AddressBook

Repository files navigation

Address Book

A simple address book using ASP.NET Core and Entity Framework Core for the backend, and React with TypeScript and Fluent UI for the frontend.

Setup

After cloning the repository, run the npm install command in the ClientApp folder. The project can then be launched through your preferred IDE.

Repository Description

This is a simple address book implementation. Users can:

  • Add new contacts (people)
  • Edit and delete existing contacts
  • Assign multiple email addresses and phone numbers to each contact
  • Categorize emails/phone numbers (e.g., Home, Work). Missing categories can be added as needed
  • No security, user authentication, or similar features are implemented

The homepage displays contacts grouped by the first letter of their names. Clicking a contact opens a "side panel" showing detailed information. This functionality uses routing:

  • Navigating to / shows the contact list
  • Navigating to /1 displays the contact list with a side panel showing details for contact ID 1

Useful Links

Important Notes

  • Frontend API calls are directed to https://localhost:7037
  • All API endpoint paths are defined in the context variable within ClientApp/src/setupProxy.js

Citations: [1] https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-5.0&tabs=visual-studio-code [2] https://docs.microsoft.com/en-us

About

Practice Task: Simple Phone Book using React (TypeScript) and C# ASP.NET Core with Entity Framework Core and SQLite Database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published