Prerequisites
Before you begin, ensure you have the following installed on your system:Node.js
Version 18.x or higher recommended
npm
Comes bundled with Node.js
Installation Steps
Install Dependencies
Install all required npm packages:This will install:
- Angular 20 framework
- Ionic 8 components and toolkit
- Capacitor 8 for native functionality
- Development tools (TypeScript, ESLint, Karma)
- TailwindCSS for styling
Key Dependencies
Core Framework
- Angular: v20.0.0 - Modern web application framework
- Ionic Angular: v8.0.0 - Mobile UI components
- RxJS: v7.8.0 - Reactive programming library
Native Capabilities
- Capacitor Core: v8.1.0 - Native runtime
- Capacitor Plugins: App, Haptics, Keyboard, Status Bar (v8.0.1)
Development Tools
- TypeScript: v5.9.0 - Type-safe JavaScript
- Angular ESLint: v20.0.0 - Code quality
- Karma & Jasmine: Testing framework
- TailwindCSS: v3.4.19 - Utility-first CSS
IDE Setup Recommendations
Visual Studio Code
Recommended extensions for the best development experience:TypeScript Configuration
The project uses strict TypeScript settings for type safety:View TypeScript Config Highlights
View TypeScript Config Highlights
- Strict Mode: Enabled for maximum type safety
- Target: ES2022 with ES2020 modules
- Experimental Decorators: Enabled for Angular
- Strict Templates: Enforced in Angular components
Project Structure
After installation, your project structure will look like:Next Steps
Running the App
Learn how to start the development server
Building
Create production builds for deployment