- .NET 8 SDK
- Node.js (v18+) and npm
- SQL Server (or SQL Server Express / LocalDB)
- Angular CLI:
npm install -g @angular/cli
git clone https://github.com/AbdullahImran2320/Hardware-store-portal.git
cd Hardware-store-portalcd Backend/HardwareStorePortal.API/HardwareStorePortal.APISet your JWT signing key using .NET User Secrets (never commit this key directly):
dotnet user-secrets init
dotnet user-secrets set "Jwt:Key" "your-own-secret-key-here"Update the database connection string in appsettings.json if needed, then apply migrations:
dotnet ef database updateRun the API:
dotnet runThe API will start at https://localhost:7259
cd Frontend/hardware-store-frontend
npm installUpdate src/environments/environment.ts with your backend API URL/port, then run:
ng serveThe app will be available at http://localhost:4200.
``Abdullah Imran BBIT Student from Punjab University, Lahore (Quaid-e-Azam campus) — .NET Developer Intern @ Magnatec Systems
⭐ If you found this project interesting, consider giving it a star!