A comprehensive SAP UI5 application based on the official walkthrough tutorial. This project demonstrates the core concepts of UI5 development, including Component-based architecture, OData integration, and mock data handling.
- Modern Architecture: Built with
Component.jsandmanifest.json. - OData Integration: Consumes the Northwind OData service.
- Mock Server: Includes a local mock server for development without a backend.
- Internationalization (i18n): Supports multiple languages and locales.
- Responsive Design: Optimized for Desktop, Tablet, and Phone.
- Custom Formatting: Utilizes custom formatters for data display.
- Framework: SAP UI5
- Tooling: UI5 CLI
- Language: JavaScript / XML Views
- Service: Northwind OData V2
Before you begin, ensure you have the following installed:
- Clone the repository:
git clone https://github.com/your-username/sap-ui5-tutorial.git
- Navigate to the project directory:
cd sap-ui5-tutorial - Install dependencies:
npm install
To run the app with local mock data (useful for development when the backend is unavailable):
npm run run-mockserverNavigate to: http://localhost:8080/test/mockServer.html
To run the app and connect to the actual Northwind service:
npm startNavigate to: http://localhost:8080/index.html
├── webapp/
│ ├── controller/ # UI Controllers
│ ├── view/ # XML Views
│ ├── model/ # Data Models & Formatters
│ ├── i18n/ # Translation Files
│ ├── localService/ # Mock Server & Metadata
│ ├── test/ # Test Initializers
│ ├── css/ # Custom Styles
│ ├── Component.js # App Component Descriptor
│ ├── manifest.json # App Configuration
│ └── index.html # Entry Point
├── ui5.yaml # UI5 Tooling Configuration
└── package.json # Dependencies & Scripts
Component.js: The root component that initializes the app and models.manifest.json: The central configuration file for routing, models, and dependencies.InvoiceList.view.xml: Displays a list of invoices with search and filtering capabilities.formatter.js: Custom logic for styling status text based on invoice data.