import { Component } from '@angular/core'; // etc...
import { AocUiDataMenu } from '@atlantis-of-code/aoc-client/ui/common/types';
import { meta } from './models/meta';
@Component({
selector: 'app-root',
template: `<aoc-app aocLogger [mainMenu]="mainMenu">
<ng-template aocAppHeader="left">
<img src="assets/app/app-logo.png"/>
</ng-template>
</aoc-app>`,
standalone: true,
imports: [ AocAppModule ]
})
export class AppComponent {
mainMenu: AocUiDataMenu = [
{
label: 'Customers',
icon: 'group',
items: [
{ label: 'Customer Panel', routerLink: ['customers', 'customer', 'panel']
]
}
];
constructor(private logger: AocUiLoggerService) {
this.logger.info('Starting your aoc application');
AocModelManager.registerMeta(meta);
}
}
…in a way that it enables a friendly, developer-oriented mindset, and a predictable workflow.
This enables you to focus more on what to do, and less in how to do it, positively affecting to your productivity and confidence.
AOC empowers you to write your code following well-defined patterns that definitely will lower your code entropy, inducing maintainability and helping your future self.
…meaning that you will progressively write your application, breaking down tasks into smaller tasks.
A team of developers can work individually with less interference, maximizing throughput and minimizing the time.
Once you embrace the AOC design, you will be able to cut down what would be months of work into a couple of days.
…AOC leverages the strengths of Angular, Node.js, Express, and PostgreSQL.
We can rely on these technologies as they are time-proven, secure, fast, and robust.
Furthermore, they enable you to run your applications either on-premises, or through many cloud-services providers available on the Internet.
Front end: An AOC application is an Angular application that makes use of the aoc-client angular library.
This front-end application is the interaction point with the user. To create the best UX, we provide you with the aoc and aoc-ui components, plus a collection of services and directives to let you focus on the business logic of your application.
You can begin your familiarization process right now through our documentation.
Back end: An AOC application is a Node.js application that makes use of the aoc-server node.js library.
This application will gather the back-end services, and will be resposible of answering rest requests, i.e., retrieving, saving, updating, deleting information from the database, and also for generating reports, sending e-mails.
It uses Express as web server framework, so you can extend it as much as you need.
Database: As the PostgreSQL website states, PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
While MikroORM supports more database systems, PostgreSQL is the best option for both the end users and the developers since it covers a huge variety of use cases.
Quest for Atlantis, the demo application that will introduce you to the world of aoc-dev.
Try it online, run it on your local machine, browse its source code, and explore the possibilities.