Skip to content

Spikes

A spike is a timeboxed trial: set a duration, try to reach a target, and stop when the time is up, working or not. The goal is to buy information, not to build a feature.

This folder is only for back-end framework trials. A front-end, a database, hooks or OAuth trial is a PoC and goes in pocs/ (see pocs/README.md).

Target shared by every spike

  • a server listening on port 8080;
  • GET /ping answers exactly {"status":"ok"};
  • the port is read from an environment variable (PORT), not hard-coded.

Check:

curl http://localhost:8080/ping

If the target is reached before the time is up, keep going on what matters for AREA: a served OpenAPI page, then an OAuth login (GitHub for example).

Rules

  1. Every spike gets the same duration. It is written down, with its reason, in each SPIKE.md.
  2. Do not extend the time for a technology you already like.
  3. As soon as the time is up, copy _template/SPIKE.md to spikes/<tech>/SPIKE.md and fill it in.
  4. The spike code goes in spikes/<tech>/, on the spike/<tech> branch.
  5. Once every spike is done, fill in DISTANCE.md.

Planned spikes

The timebox is 30 minutes for every back-end spike.

Technology Folder Branch Owner Status
FastAPI (Python) spikes/fastapi/ spike/fastapi Ethaniel merged
ASP.NET Core Web API (C#) spikes/aspnet-core/ spike/aspnet-core Ethaniel merged
Express (Node.js) spikes/express/ spike/express Esteban PR open
NestJS (Node.js, TypeScript) spikes/nestjs/ spike/nestjs Clément PR open
to choose spikes/<tech>/ spike/<tech> Alexandre not started

Pick a technology that is not already in this table, so the team compares more options.

After the spikes

  1. DISTANCE.md: one table comparing every spike.
  2. Each member reads every SPIKE.md, then fills in alone a copy of decision/matrix-template.md named decision/matrix-<firstname>.md, scoring every technology, not only the one they tried.
  3. The team compares the matrices, then writes decision/RECOMMENDATION.md and the ADR.