A full-stack inventory management system built with Angular frontend and ASP.NET Core Web API backend, integrated with Firebase for real-time data synchronization.
- Angular 18+ - Modern web framework with standalone components
- Bootstrap 5 - UI styling and responsive design
- Chart.js & ngx-charts - Data visualization
- Angular Fire - Firebase integration for Angular
- ASP.NET Core 8 - Web API framework
- Swagger/OpenAPI - API documentation
- CORS - Configured for Angular frontend integration
- Firebase - Real-time database and authentication
SmartInventory/
├── sit-frontend/ # Angular frontend application
│ ├── src/
│ │ ├── app/
│ │ │ ├── components/ # Feature components
│ │ │ │ ├── login/
│ │ │ │ ├── dashboard/
│ │ │ │ ├── products/
│ │ │ │ ├── notifications/
│ │ │ │ └── chatbot/
│ │ │ ├── services/ # Business logic services
│ │ │ ├── guards/ # Route guards
│ │ │ └── shared/ # Shared components and utilities
│ │ └── styles.css
│ └── angular.json
│
├── sit-backend/ # ASP.NET Core Web API
│ ├── Controllers/ # API controllers
│ ├── Services/ # Business logic services
│ ├── Models/ # Data models
│ ├── Security/ # Authentication & authorization
│ └── Program.cs
│
├── README.md
└── .gitignore
- Node.js (v18 or higher) and npm
- .NET 8 SDK
- Angular CLI (installed globally or via npx)
- Firebase account (for database and authentication)
-
Navigate to the frontend directory:
cd sit-frontend -
Install dependencies:
npm install
-
Start the development server:
ng serve
-
The application will be available at
http://localhost:4200
-
Navigate to the backend directory:
cd sit-backend -
Restore dependencies (usually done automatically):
dotnet restore
-
Run the API:
dotnet run
-
The API will be available at
https://localhost:5001orhttp://localhost:5000 -
Swagger UI will be available at
https://localhost:5001/swagger(in development mode)
Test the backend API health endpoint:
GET http://localhost:5000/api/healthExpected response:
{
"status": "ok"
}- CORS: The backend is configured to allow requests from
http://localhost:4200 - Standalone Components: Angular 18+ uses standalone components (no NgModules)
- HttpClient: Already configured in
app.config.tsfor API calls - Bootstrap: Global Bootstrap CSS is included via
angular.json
- Configure Firebase connection
- Implement authentication
- Set up API services in Angular
- Create data models
- Implement business logic
This project is part of the Smart Inventory Tracker system.