Electron Angular Native

screenshot of Electron Angular Native
angular

Ready for distribution boilerplate for Electron Angular applications with native modules support (node.js addons and plain native libraries)

Overview

If you're diving into the world of Electron applications with a blend of Angular, then this boilerplate is an excellent starting point. It offers an easy-to-use framework that supports both native code and typical JavaScript development, creating a seamless and efficient development experience across platforms including Linux, Mac, and Windows. This project simplifies the complexities often encountered when integrating native libraries while providing all the necessary tools for a robust build process.

The versatility of this boilerplate makes it a strong candidate for developers looking to build applications that require native code support. Whether you're creating your native node.js add-ons or leveraging existing libraries, this solution provides the flexibility you need to optimize your application's performance and capabilities.

Features

  • Electron 5: Leverages Electron 5 for building cross-platform desktop applications with web technologies.

  • Spectron 7: Includes Spectron 7 for robust and reliable integration testing of your Electron applications.

  • Angular 8 & Angular CLI 8: Built on Angular 8 for powerful front-end development, complete with Angular CLI for streamlined workflows.

  • AOT Compilation: Angular AoT (Ahead-of-Time) support ensures optimal production builds, enhancing performance and load times.

  • Native Node.js Addons: Supports native node.js addons using nan, making it easy to incorporate native functionality directly into your app.

  • Native Library Support: Utilizes node-ffi-napi for working with existing native libraries, allowing seamless integration of precompiled libraries.

  • Hot Reload for Development: Facilitates a more efficient development process with hot reloading, enabling immediate reflection of changes without restarts.

  • CI Configurations: Pre-configured Continuous Integration setups for Windows (AppVeyor), Linux, and Mac (Travis CI) to streamline the deployment process.

angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.