On this page8
Part of my work on Metalworking Marketplace. By Mohammad Javad Dastouri, full-stack and AI engineer.
The engineering behind the Metalworking Marketplace: what makes it a platform and not a simple database app.
At a glance
- Area
- Web platforms and migration
- My role
- Sole engineer: design, build, deploy and run
- Built with
- Node.js 22, Express 5, MySQL 8, EJS, vanilla JS and CSS
- Area
- Web platforms and migration
- My role
- Sole engineer: design, build, deploy and run
- Built with
- Node.js 22, Express 5, MySQL 8, EJS, vanilla JS and CSS
What it covers
Schema
Admins define new content types and fields on screen
Languages
10 active languages, stored in the database
Serving
One running process, many addresses
Sign-in
Four methods, one identity
Schema
Admins define new content types and fields on screen
Languages
10 active languages, stored in the database
Serving
One running process, many addresses
Sign-in
Four methods, one identity
A self-service schema
Admins define new content types and field types, such as text, image and geo-location, on screen. The moment a field is added, members get a working create and edit form for it, with no deployment.
It runs on an entity-attribute-value (EAV) database design, the kind of architecture usually built by CMS teams.
10 languages, stored in the database
The 10 active languages include right-to-left Arabic and Urdu. Every label, button, error message and tooltip is translated. Content is translated too, resolved on each request with a graceful fallback.
A SQL coverage query fails loudly if any string lacks a translation in any active language.
One process, many addresses
The same running app serves a domain root and a path on a completely different domain at the same time, with no restart and no config change. Two different mount types have run live together.
Cookies, redirects, OAuth callbacks and asset paths all come from the incoming request.
Sign-in, four ways, one identity
Different methods, one account. The real sign-in screen, shown at the top of this page, puts three ways in on one card: Google, Telegram, and username with password. Magic links and Facebook are also available.
How each sign-in method works
- Password: Hashed with bcrypt.
- Magic links: No password needed.
- OAuth: Google and Facebook.
- Telegram: A login widget verified with HMAC-SHA256.
- One identity: An account works however its owner signed in.
A platform, not a CRUD demo
Moderation
Every step is logged.
Permissions
Capability-based admin roles.
Analytics
Append-only event logs.
Dashboard
My own statistics screens, with hand-written SVG charts and no chart library.
Visibility
Controls per record and per field.
Developer API
Token-authenticated, with OpenAPI docs.
Moderation
Every step is logged.
Permissions
Capability-based admin roles.
Analytics
Append-only event logs.
Dashboard
My own statistics screens, with hand-written SVG charts and no chart library.
Visibility
Controls per record and per field.
Developer API
Token-authenticated, with OpenAPI docs.
Hiring someone to build the whole product?
Tell me about the role, or go back to the project: the product this engineering delivered.
- Section
- Web platforms and migration
- Updated
- November 9, 2026
- Reading time
- 2 min read
Hiring for this kind of work?
Tell me about the role and I will reply by email.
Discuss a role with me
