FEATURED PROJECT / Systems
Kyklos.
A sales and purchasing app with role-based access, server-calculated totals, and test payments.

access permissions
More details
The same access rules apply to app pages and API routes.
user roles
More details
Administrator, purchasing staff, and sales staff.
test payment methods
More details
Xendit Invoice, Virtual Account, and E-Wallet, all in test mode.
01 / THE CHALLENGE
Keep orders and payments in order.
Different staff need different access to orders and payments. Totals and payment status also need to stay correct.
02 / THE APPROACH
How I built it.
Set up 18 permissions across three roles, with the same rules on pages and API routes.
Calculated order totals and tax on the server. Archived old records so existing orders keep their links.
Connected three Xendit test payment methods and checked webhook tokens before updating payment status.
03 / THE RESULT
What was delivered.
Built purchasing and sales order flows with 18 permissions, three roles, and three test payment methods.
Good to know
Payments run in test mode. The live demo shows the separate frontend prototype.