Aller au contenu

AREA

A software suite inspired by IFTTT and Zapier: an application server, a web client and an Android mobile client. The project is in the Plan phase (milestone 1): exploring technologies and organizing the work.

New to the repository? Read docs/github-workflow.md first: the rules on main, the automatic checks, and how to get your work merged.

Layout

spikes/        timeboxed back-end framework trials (one folder per technology)
pocs/          proofs of concept for everything else: front-end, database, hooks... (one folder per topic and technology)
planning/      task breakdown of the project and Gantt charts
radar/         technology radar: every technology looked at and the team's position on it
decision/      weighted decision matrix and final recommendation
docs/adr/      architecture decision records, one file per decision
docs/          team documents, such as the GitHub workflow
  • Spike rules: spikes/README.md. PoC rules: pocs/README.md.
  • Radar: radar/radar.csv uses the Build Your Own Radar format. Rings: adopt (we use it), trial (we are trying it with code), assess (worth a look, not tried yet), hold (we decided not to use it for now).
  • ADR: copy docs/adr/template.md to docs/adr/NNNN-<slug>.md.

Documentation site

Every Markdown document of this repository can be read as one website (menu, search, diagrams, light and dark theme), built with MkDocs and the Material theme. The files stay where they are: mkdocs.yml holds the menu and docs/site_hooks.py picks the documents up from their folders.

Run it from the repository root with uv installed, then open http://127.0.0.1:8000:

uvx --with-requirements docs/requirements.txt mkdocs serve

The page reloads on every saved change. Without uv: pip install -r docs/requirements.txt, then mkdocs serve. Before pushing a document, uvx --with-requirements docs/requirements.txt mkdocs build --strict must pass: it fails on any broken link. A new spike or PoC shows up in the menu on its own; any other new document needs a line in the nav section of mkdocs.yml.

Where does my work go?

One question decides it: what are you trying?

I am trying... It is a Folder Branch Report to fill
a back-end framework (FastAPI, Express, NestJS, ASP.NET Core...) spike spikes/<tech>/ spike/<tech> SPIKE.md, copied from spikes/_template/SPIKE.md
anything else: a front-end, a database, hooks, OAuth... PoC pocs/<topic>-<tech>/ poc/<topic>-<tech> POC.md, copied from pocs/_template/POC.md

Examples:

What you try Folder Branch
Node.js with Express as the back-end spikes/express/ spike/express
React for the web client pocs/web-react/ poc/web-react
Flutter for the mobile client pocs/mobile-flutter/ poc/mobile-flutter
PostgreSQL for the database pocs/database-postgresql/ poc/database-postgresql
Celery and Redis for the hooks pocs/hooks-celery/ poc/hooks-celery

Why two words: every back-end spike reaches the same target (GET /ping on port 8080), so the frameworks can be compared in spikes/DISTANCE.md. A PoC has its own target, written in its POC.md, because a front-end, a database and a hook engine cannot share one.

On Discord some tasks say "PoC backend": a back-end framework trial is a spike, so it goes in spikes/.

Step by step

  1. Start from an up-to-date main and create your branch:
git switch main
git pull
git switch -c spike/express
  1. Create your folder (spikes/express/) and copy the report template into it.
  2. Set a timer (30 minutes for a back-end spike; a PoC writes its own duration in POC.md), write your code in the folder, and stop when the timer rings, working or not.
  3. Fill in the report right away: where you stopped, what took the most time, your impressions.
  4. Commit, push, and open a pull request to main:
git add spikes/express
git commit -m "feat(spike): add Express backend spike and report"
git push -u origin spike/express
  1. Mark your task as done on Discord.

Who tries what: the tables in spikes/README.md and pocs/README.md. Add your line there in the same pull request.

Branches

  • main only receives finished work, through pull requests.
  • One branch per trial or task, named after its type:
Type Branch name Example
Back-end spike spike/<tech> spike/express
PoC (front-end, database, hooks...) poc/<topic>-<tech> poc/mobile-flutter
Decision document docs/<topic> docs/adr-backend
Planning planning/<topic> planning/wbs

Use these names even when the branch is created from a GitHub issue: rename the suggested 7-spike-nodejs-with-express to spike/express.

Commit messages

Commits follow Conventional Commits:

<type>(<scope>): <description>

<optional body: why the change was made>
  • description: imperative mood ("add", not "added"), lowercase, no final period; the whole first line is 72 characters at most.
  • scope (optional): the part of the project the commit touches.
  • Breaking change: add ! after the type or scope (feat(server)!: ...) and explain it in the body.
Type Use it for
feat a new feature
fix a bug fix
docs documentation only
refactor a code change that neither adds a feature nor fixes a bug
test adding or fixing tests
chore maintenance: dependencies, tooling, config
ci CI and GitHub Actions workflows
Scope Part of the project
server application server
web web client
mobile Android mobile client
spike timeboxed spikes and PoCs
decision decision matrix and recommendation
adr architecture decision records
radar technology radar
planning WBS and planning documents

Examples:

feat(server): add GitHub OAuth login
fix(web): handle an expired OAuth token
docs(adr): record the backend framework choice
ci: mirror the working repository to the Epitech one