Building a Full-Stack MERN Product Solo: Lessons from FixmanHR
Most of my career has been on the frontend, but I've always built my own products on the side, end to end. The two most recent are FixmanHR, an HR management application I've been building since December 2023, and Lisica.info, a news and publishing platform launched in 2025. This post walks through how I approached FixmanHR as a solo full-stack engineer.
Why build it myself?
After years of working on HR and admin dashboards for other companies, I knew the domain well: employees, roles, approvals, and lots of small workflows that people still do by hand. Building my own product was the best way to own every decision, from the database schema to the last pixel, and to learn the parts of the stack that a frontend role doesn't always expose you to.
Why the MERN stack
- One language end to end. JavaScript on the client and the server means shared validation logic and less context switching.
- JSON all the way down. MongoDB documents map naturally to API responses and React state.
- Flexible schema early on. HR data varies a lot between companies; Mongoose gives structure without making every change a migration.
- React where I'm strongest. The UI is the part users judge first, and it's where my experience gives the biggest advantage.
Architecture at a glance
- Frontend: a React single-page app with a responsive, mobile-first layout, so managers and employees can use it on their phones.
- API: a REST API on Node.js and Express, organised by domain (auth, employees, organisation, workflows).
- Data: MongoDB with Mongoose models, indexes on the fields used for filtering, and every record scoped to its organisation.
- Auth: token-based authentication plus role-based access control on every route.
Role-based access control
In an HR app, permissions are the feature. An admin, a manager and an employee see very different things, and a mistake here is a data leak. I keep permissions in one place and check them in middleware, so no route can "forget" a check. Here's a simplified version of the idea:
// middleware/authorize.js
const permissions = {
admin: ["employees:read", "employees:write", "settings:write"],
manager: ["employees:read", "employees:write"],
employee: ["employees:read:self"],
};
module.exports = function authorize(permission) {
return (req, res, next) => {
const allowed = permissions[req.user?.role] || [];
if (!allowed.includes(permission)) {
return res.status(403).json({ message: "Forbidden" });
}
next();
};
};
// routes/employees.js
router.get("/", authenticate, authorize("employees:read"), listEmployees);
router.post("/", authenticate, authorize("employees:write"), createEmployee);
The frontend uses the same permission names to hide buttons and pages, but the server is always the source of truth: hiding a button is UX, the middleware is security.
Automating the boring workflows
The value of an HR tool is in removing manual steps. Instead of hard-coding each process, I model workflows as data: a request moves through states (for example submitted, approved, rejected), and every transition records who did it and when, and can trigger the next step. Adding a new workflow then mostly means configuration, not new code paths.
Mobile first, because that's where people are
Many users open an HR app on their phone: to check a schedule, submit a request or approve one. I design the small-screen version first and then expand to desktop tables and dashboards. This is the same approach I used when optimising Rogerhr's HR dashboard for mobile devices.
What building solo taught me
- Scope is the hardest problem. Shipping a small, solid version beats a big, half-finished one.
- Boring technology wins. A well-structured Express API and a clean Mongo schema go a long way.
- Security is not optional, even for a small product: validate input, check permissions server-side, and keep secrets out of the repo.
- Operating software is part of building it. Deployments, backups, monitoring and fixing production issues at inconvenient times are all part of the job.
- It makes me a better team engineer. Having owned the whole stack, I make better frontend decisions because I understand the API and data behind them.
What's next
FixmanHR is still actively developed, and the same full-stack approach powers Lisica.info, with authentication, article management and a scalable backend. If you're looking for a software engineer in Slovenia who is strongest on the frontend but comfortable across the whole stack, take a look at my portfolio or send me a message.