Skip to content
Discuss a project
All articles

Platforms & backends

What your first product backend actually needs

A backend connects the product people use with the information and operations behind it. For a first release, start by mapping a few complete workflows: what a user submits, where it is stored, who may access it, and how your team handles exceptions.

Map the records and their owners

List the main records in the product, such as users, projects, lessons, or game sessions. For each one, define who creates it, who owns it, and who can read, change, or delete it. Use examples involving two different accounts so ownership rules are concrete.

Signing in does not by itself establish permission to access a particular record. OWASP’s guidance on broken object-level authorization highlights the need to check access to the requested object. Make those checks part of the backend contract and verify that one user cannot access another user’s records by changing an identifier.

Give the admin panel a specific job

An admin panel should support the app’s actual operations. A game might need content management and player-support tools. A school platform might need account access, organisation settings, and subscription administration. Write the tasks before choosing the screens.

Separate ordinary support actions from actions that change permissions or remove data. Show enough context for an operator to make a decision, confirm consequential changes, and keep an appropriate record of administrative activity. Only collect and display information needed for the job.

Design failure and recovery

For each workflow, ask what happens if a request fails halfway through. Can the user retry? Could the same action create two records? What will support need to investigate the issue? These questions are easier to answer with a small set of clear workflows than a long list of disconnected endpoints.

Plan backups and a restore exercise around the data you actually store. Decide who responds to failed jobs, where operational errors appear, and how sensitive information is kept out of routine logs. A backup is only one part of a recovery plan; the team also needs a workable restoration process.

Keep the first release bounded

A useful initial scope might contain accounts, ownership checks, the core data workflow, a small admin area, and the monitoring needed to operate it. Add other systems when a real workflow calls for them, with an explicit owner and reason.

The best scope document makes the limits clear. Describe the supported roles, expected actions, recovery steps, and tasks that remain manual. That gives the product team something concrete to test and a sensible starting point for the next release.

LET’S BUILD SOMETHING USEFUL

Bring your idea to the table.

Discuss a project