-
BackEnd: ASP.NET Core 7 + Entity Framework Core + SQL Server
-
FrontEnd: Angular 17
-
Deployment: Docker support for easy setup and distribution
The project provides full CRUD operations, user authentication, and a modern, interactive user interface.
-
ASP.NET Core 7 (Web API + MVC)
-
C#
-
Entity Framework Core (Code First)
-
SQL Server / PostgreSQL (يمكن استخدام Neon)
-
LINQ
-
Dependency Injection
-
Angular 17
-
HTML5 / CSS3
-
TypeScript
-
Bootstrap
-
Reusable Components & Guards & Interceptors
- Docker (Dockerfile To BackEnd & FrontEnd)
-
User Authentication & Authorization (JWT).
-
RESTful API endpoints.
-
CRUD (Books, Users, Borrowed Books).
-
Code-First migrations.
-
Validation & Error handling.
-
Modern & Responsive UI.
-
Login & Register forms.
-
Books management (Add / Edit / Delete / Borrow).
-
Dashboard (Admin & User).
-
Guards & Interceptors for auth handling.
Book-Lending-System/
│
├── BackEnd/
│ ├── BackEnd.sln
│ ├── BackEnd/
│ │ ├── Controllers/
│ │ │ ├── AuthController.cs
│ │ │ ├── BooksController.cs
│ │ │ └── WeatherForecastController.cs
│ │ ├── Data/ (DbContext + Migrations)
│ │ ├── Dtos/
│ │ ├── Models/
│ │ ├── Properties/
│ │ ├── Program.cs
│ │ ├── appsettings.json
│ │ ├── BackEnd.csproj
│ │ └── Dockerfile
│
├── FrontEnd/
│ ├── src/
│ │ ├── app/
│ │ │ ├── components/
│ │ │ ├── pages/
│ │ │ ├── services/
│ │ │ ├── guards/
│ │ │ ├── interceptors/
│ │ │ └── app.ts
│ │ ├── index.html
│ │ ├── styles.css
│ │ └── main.ts
│ ├── angular.json
│ ├── package.json
│ ├── tsconfig.json
│ └── Dockerfile
│
└── README.md
- cd BackEnd/BackEnd
- docker build -t book-lending-backend .
- docker run -d -p 5000:5000 book-lending-backend
- cd FrontEnd
- docker build -t book-lending-frontend .
- docker run -d -p 4200:80 book-lending-frontend
-
Backend API → http://localhost:5000
-
Frontend UI → http://localhost:4200
Make sure you have installed:
- .NET SDK 7.0+
- SQL Server
- Visual Studio / VS Code
- Node.js (optional for frontend builds)
git clone https://github.com/YourUsername/FullStackApp.git
cd FullStackAppcd Backend
dotnet restore
dotnet ef database update
dotnet runSimply open Frontend/index.html in a browser,
or serve it with Live Server in VS Code.
Contributions are welcome!
- Fork the repo
- Create a new branch (
feature-xyz) - Commit changes
- Push & create Pull Request
⚡ Developed with passion by Hagar Atia Elzahar









