.phtml` beside it. Create `src/pages/about/index.json`:
```json from=src/pages/about/index.json
{
"label": "About",
"icon": "circle-info",
"group": "Acme Portal",
"order": 10,
"default": "about",
"files": {
"about": {
"label": "About",
"title": "About Acme",
"description": "Who we are, and how to reach us."
}
}
}
```
Then its template, `src/pages/about/about.phtml`:
```php from=src/pages/about/about.phtml
About Acme
Acme has served its customers for = date('Y') - $since ?> years.
```
Reload: the menu has an About entry, and shows the page. No route and no
configuration: the pages folder is enough.
## 5. Test it
The project came with a test suite. Its tests send requests inside the test's own process, through the same routing,
pages and templates as the web server. Add `tests/unit/TestAbout.php`:
```php from=tests/unit/TestAbout.php
class TestAbout extends TestCase {
public function testTheAboutPageAnswers(): void {
$about = $this->http('GET', 'about');
$this->assertSame(200, $about->getStatusCode());
$this->assertStringContainsString('About Acme', (string)$about->getBody());
}
}
```
Then, from the project's folder:
```bash
phpunit
```
```text
OK (5 tests, 10 assertions)
```
The four other tests came with the project. They check what usually shows up in production first: a namespace
that differs between `mmo.json` and `src/bootstrap.php`, or a page without its template.
## 6. Commit
```bash
git add -A
git commit -m "acme.portal: the project, and its About page"
```
A pre-commit hook (`scripts/git/pre-commit`) refuses an obvious credential. Your own values, such as a local database
password, go in `configs/local.json`, which git ignores.
## Common mistakes
- **`{root}/src/...` in a configuration.** It works in your checkout and fails in production, where there is no
`src/`. Always write `{AcmePortal}/...`.
- **A class nobody requires.** A new file of `src/` is `require`d by `src/bootstrap.php`, after the files it extends
or uses. The framework does not look for it.
- **Moving the project's folder.** `libs` is a link to the hub's `libs/`. If you move one of them, run the
`project` command again or fix the link yourself.
- **An `index.json` key without its `.phtml`.** The page answers 404. The project's own test finds it.
## Going further
- [Pages](https://www.mmoframework.fr/en/documentation/mmo.client/Pages.md): menus, groups, the theme's shell.
- [Starting a new application](https://www.mmoframework.fr/en/documentation/mmo.core/NewProject.md): every file
of the tree, and how to write them by hand.
- [Testing](https://www.mmoframework.fr/en/documentation/mmo.core/Testing.md): `TestCase` and its requests.
- Next: **Configuration**, then **Your first controller**.