Skip to content

MachcOn-SL-AWS-1 Project

The MachcOn-SL-AWS-1 project is an integrated solution that combines a modern frontend and a robust backend to deliver a scalable and efficient application. This implementation includes two core functionalities: a login form for authentication and a submit order feature to process customer orders. The application builds on key modular libraries from the Machanism and leverages Commercetools as the primary backing system for data and e-commerce operations.

Frontend Part

The frontend for the MachcOn-SL-AWS-1 project is implemented as a TypeScript-based application, developed using modular components from the Machb project libraries. This frontend is designed to provide a seamless user experience with fast, responsive interfaces and clean business logic.

  • It is deployed as a static website on Amazon S3, making it easy to scale and cost-effective.
  • The frontend is integrated with the backend Lambda functions using REST APIs to handle authentication and order submission workflows.

For detailed information, refer to the Frontend Project page.

Backend Part

The backend is implemented using AWS Lambda functions and builds upon Machc Core libraries, ensuring modularity, scalability, and Clean Architecture principles. It connects with Commercetools as the foundational backing system to:

  • Process and validate user authentication via the login functionality.
  • Support order workflows through the submit order API.

The backend is fully serverless, reducing operational overhead and ensuring high availability. Deployed on AWS, it efficiently integrates with other cloud-based services to provide a reliable and event-driven system.

For additional details, visit the Backend Project page.

Leveraging Machb Libraries for Frontend Customization

To accelerate development of the MachcOn-SL-AWS-1 frontend, the project relies on Machb TypeScript libraries. These libraries provide reusable UI components, encapsulating common frontend elements and patterns, minimizing effort and maximizing efficiency during development.

Why Machb Libraries?

  1. Rapid UI Development:

    • Machb libraries offer pre-built, customizable UI components that serve as building blocks for user interfaces.
    • Developers can concentrate on extending adapters and integrating project-specific configurations while avoiding the need to rebuild common functionality from scratch.
  2. Focus on Custom Adapters:

    • The frontend takes advantage of Machb's flexibility to customize only the required adapters, ensuring seamless compatibility with the backend and other system components.

The diagram below illustrates how the Machc Core Libraries (marked in yellow) form the backend core system, while parts of the Machb Project (marked in blue) represent the foundational building blocks for the frontend.

Machb and Machc Integration

This high-level integration between Machb for the frontend and Machc for the backend creates a cohesive, modular system designed to scale and adapt to evolving use cases.

Getting Started

1. Clone the Repository

git svn clone https://sourceforge.net/p/machc/svn/HEAD/tree/trunk/machaon/faas/aws/machcon-sl-aws-1
cd machcon-sl-aws-1

2. Install AWS SAM CLI

See: AWS Serverless MachcOn

3. Follows the instructions in the subprojects

Demo

https://www.free-Counters.org