Your first project from start to finish, in one hour
Build a tool your newsroom can use today. Describe an idea board in plain language, have the agent build it, then review it, run it as a service, and share it. Copy-ready prompts walk you through each step.
In this guide
- 01Your plan for the hour
- 02Step 1. Write the brief (10 min)
- 03Step 2. Set up the folder (5 min)
- 04Step 3. Get and approve the plan (5 min)
- 05Step 4. Build it (15 min)
- 06Step 5. Test it yourself (10 min)
- 07Step 6. Review and save your work (5 min)
- 08Step 7. Run it as a service and share it (10 min)
- 09What you just built
- 10Take it further
- 11Frequently asked questions
Guide checked 3 months ago: some commands may have changed. Let us know if so.
In short
Put the pieces of this guide together by building an idea board where your team can suggest topics, vote, and mark ideas as handled. In an hour, you write a brief in plain language, have the agent propose a plan and build the app (Python, FastAPI, SQLite, one HTML page), test it, and have the agent review and commit it. Then you run it as a service that restarts automatically and share it with your team over Tailscale. Each step includes a prompt to copy. You need a Linux mini-PC, a coding agent, and Tailscale. The agent writes the code.
Do this first: Installing the agent (very early)Framing a project with an LLM
The other guides cover the machine, the agent, the network, and code review. Here you’ll put them together. In an hour, you can build an idea board for your team and put it to use tonight without writing a line of code yourself. Anyone on the team can suggest a topic, vote, or mark a suggestion as handled.
This small project has all the pieces of a real service: a web page, a server, a database, security rules, a way to keep it running, and a way to share it. Once you’ve done it here, you can do it for other projects too.
Your plan for the hour
| Step | Time | Who does it |
|---|---|---|
| 1. Write the brief | 10 min | You |
| 2. Set up the folder | 5 min | You |
| 3. Get and approve the plan | 5 min | The agent, then you |
| 4. Build it | 15 min | The agent |
| 5. Test it | 10 min | You |
| 6. Review and save your work | 5 min | The agent, then you |
| 7. Run it as a service and share it | 10 min | The agent, then you |
Step 1. Write the brief (10 min)
This is where you shape the result, as Scoping a project with an LLM explains. Tell an agent to ‘make me an idea board’ and it will invent half the product. Give it a clear page of requirements and it can build what you want. Copy this brief and adapt it to your team.
# Team idea board
## Goal
A web page where the team can suggest story ideas, vote for the best ones,
and mark ideas as handled. For 5 to 15 people on the private network.
## What it does
- Suggest an idea with a title (required, up to 120 characters),
a description (optional, up to 1,000 characters), and a first name.
- Vote for an idea in one click. Each person can vote once per idea.
The browser remembers the vote, so there's no need for an account.
- Mark an idea as handled and undo that change if needed.
- Sort ideas by votes, with handled ideas collapsed at the bottom.
## Out of scope
- Accounts and passwords. The private network protects access.
- Deleting ideas from the page. We'll do that manually if needed.
## Technical requirements
- Python 3, FastAPI, and SQLite in a single file at data/idees.db.
- One HTML page with a little JavaScript and no framework or external dependencies.
- The server listens on 127.0.0.1, port 8300.
- Manage dependencies with uv.
- Escape all user-entered text on display to prevent HTML injection.
- Automated tests for length limits, one vote per person, and sorting.
## Done when
- I can suggest an idea, vote, and mark it as handled in my browser.
- The tests pass.
- A README explains how to run the project.
Step 2. Set up the folder (5 min)
Connect to the mini-PC and start a tmux session so your work can survive a dropped connection. Then create the project:
tmux new -s idees # start a session that survives disconnection
mkdir -p ~/projets/boite-a-idees && cd ~/projets/boite-a-idees
git init # keep a history you can fall back on
nano CAHIER-DES-CHARGES.md # paste the brief, Ctrl+O to save, Ctrl+X to exit
Step 3. Get and approve the plan (5 min)
Start the agent in the project folder and ask for a plan before it writes any code. A misunderstanding takes thirty seconds to fix now and could cost an hour later.
claude
Press Shift+Tab until plan mode appears below the input box. Then paste the prompt below.
opencode
Press Tab to switch to the plan agent, which makes proposals without editing files. Then paste the prompt below.
codex --sandbox workspace-write --ask-for-approval on-request
Paste the prompt below and make clear that the agent should hold off on writing files.
Read CAHIER-DES-CHARGES.md. Propose a plan without writing any code.
Include the files you'll create, the database schema, the API routes,
the tests you plan to write, and any open questions.
Read the plan. Check that the database has an ideas table and a way to count votes, that the tests cover the rules in the brief, and that the server listens only on 127.0.0.1. Answer the agent’s questions. If you want something changed, tell it in one sentence and have it revise the plan.
Step 4. Build it (15 min)
Once you’ve approved the plan:
Go ahead with the plan. Write the tests alongside the code, run them,
and fix any failures until they pass. Finish with a README explaining
how to run the project.
The agent will install uv if needed, set up the project, write the server, page, and tests, and ask permission for some commands. Read each request before approving it. Look for expected commands like uv add fastapi uvicorn and ask about any unexplained use of sudo or curl … | bash.
Step 5. Test it yourself (10 min)
Automated tests check the rules. You get to see how the tool feels to use. Ask the agent to start the server, or start it yourself:
uv run uvicorn app:app --host 127.0.0.1 --port 8300 # check the README if the module name differs
The server listens only on the mini-PC. To open it on your computer, share it on your private network with Tailscale Serve from a second terminal:
sudo tailscale serve --bg 8300 # HTTPS on your private Tailscale network
tailscale serve status # show the address, such as https://mini-pc.votre-reseau.ts.net
Open the address in your browser. Suggest three ideas, vote, mark one as handled, and reload the page. Try an empty title, a title with 500 characters, and a title of <b>gras</b>. The last one should appear as literal text. Note what goes wrong and ask the agent for one fix per message.
Step 6. Review and save your work (5 min)
Review the whole project thoroughly for bugs, edge cases, security
(injection and user input), and readability. List your findings by severity,
fix the important issues, and rerun the tests.
Once everything passes:
Add a .gitignore to keep data/ and the Python environment out of Git,
then commit with a message that explains the project.
Use git log --stat to check that data/idees.db is out of the commit. That database holds your team’s ideas and should stay on the machine. For the full review process, see Review, audit, secure.
Step 7. Run it as a service and share it (10 min)
While the server runs in your terminal, closing the terminal stops it. A systemd service will start it at boot and restart it if it fails:
Create a user systemd service at ~/.config/systemd/user/boite-a-idees.service.
Have it start the server with uv from this folder on 127.0.0.1:8300,
restart on failure, and log to the system journal. Show me the file
before enabling it.
Review the file the agent proposes. It should look like this:
[Unit]
Description=Boîte à idées de l'équipe
[Service]
WorkingDirectory=%h/projets/boite-a-idees
ExecStart=%h/.local/bin/uv run uvicorn app:app --host 127.0.0.1 --port 8300
Restart=on-failure
[Install]
WantedBy=default.target
Then enable it:
systemctl --user daemon-reload
systemctl --user enable --now boite-a-idees # start now and at every boot
loginctl enable-linger "$USER" # keep running even when you're logged out
systemctl --user status boite-a-idees # look for 'active (running)'
journalctl --user -u boite-a-idees -f # follow the logs, Ctrl+C to exit
The Tailscale Serve setup from step 5 survives a reboot. Colleagues on your Tailscale network can now open the same address. To invite someone, add them to your network from the Tailscale admin console.
What you just built
In an hour, you went through the whole life cycle of a real project: a brief, an approved plan, tested and reviewed code, a Git history, a service that stays up, and private access for the team. The same process works for a tool ten times bigger. You’ll just have a longer brief.
Take it further
0 of 4 steps done Your ticks stay in this browser.
-
Back up the database every night
‘Add a systemd timer that copies data/idees.db to ~/sauvegardes every night at 3 a.m. and keeps the last 14 copies.’ Check the next day that the copy exists. See Git, GitHub, and backups.
-
Push the code to GitHub or GitLab
A private repository keeps the code safe even if your mini-PC fails.
-
Add one feature a week
Try tags, search, or a Telegram alert when an idea gets more than five votes. One feature, one message, one review, one commit.
-
Write down the project rules
Use a
CLAUDE.mdorAGENTS.mdfile to record the stack, test commands, and rules such as ‘ask before adding a dependency’. The agent will read it each session. See Memory files.
Looking for another project? Project ideas has about twenty, from home automation to dashboards.
All the commands in this guide
Frequently asked questions
Do I need to know how to code for this tutorial?
No. You write the brief in plain language and review the agent's proposals. The agent writes the code. You just need to read a command and decide whether to approve it. Allow an hour the first time and a quarter of an hour after that.
Which agent should I use for this first project?
Use whichever you have installed. Claude Code, Codex, and OpenCode can all do it with a frontier model (Claude Opus 5.5, GPT-6 Astra) or a good open model. A small local model can handle a project with this clear a brief, though it will need more corrections.
How can I share the app with my team privately?
Use Tailscale Serve. The command tailscale serve --bg 8300 makes the app available over HTTPS on your private Tailscale network, at an address like https://mini-pc.votre-reseau.ts.net. Only devices on that network can reach it. To make it public, use a Cloudflare tunnel and add authentication.
How do I keep the app running after a reboot?
Run it as a user systemd service. Put a unit file in ~/.config/systemd/user/, enable it with systemctl --user enable --now, and use loginctl enable-linger so it starts even when you're logged out. Have the agent write the file and review it yourself.
Terms in this guide: AgentTailscaleCommitsystemdGit
Spotted a mistake?
A command stopped working, a price changed?
Tools change every month. Tell me what is wrong in this chapter and I will fix it and update its date.