LocaCraft is a full-stack property management application. It helps track real estate assets, leases, tenants, and lessors, with a backend API and a single-page frontend.
- Frontend: Angular 18 + Bootstrap
- Backend: ASP.NET Core (.NET 10) + EF Core
- Database: SQLite (local file
app.db)
- Real estate asset catalog
- Lease creation and management
- Tenant and lessor management
- INSEE index lookup (via backend service)
- Rent receipt PDF generation (client-side, via jsPDF)
LocaCraft-app/Angular frontendLocaCraftAPI/LocaCraftAPI/ASP.NET Core Web APILocaCraftAPI/LocaCraftAPI.Tests/xUnit unit tests for the API
- From
LocaCraftAPI/LocaCraftAPI, run:dotnet restoredotnet run
- The API will start on:
https://localhost:7195(HTTPS)http://localhost:5172(HTTP)
- Swagger UI is available at:
https://localhost:7195/
- From
LocaCraft-app, install dependencies:npm install
- Start the dev server:
npm start
- The app runs at:
http://localhost:4200/
The frontend API URL is configured in:
LocaCraft-app/src/app/environments/environment.ts
Default value:
https://localhost:7195/api
From LocaCraftAPI/:
bash run-tests.shResults are printed to the terminal and written to LocaCraftAPI.Tests/TestResults/test-results.log.
From LocaCraftAPI/LocaCraftAPI.Tests/:
dotnet test- The API uses SQLite and auto-runs migrations at startup.
- Ensure the backend is running before using the frontend.