Added missing example in tutorial

This commit is contained in:
2024-09-22 17:33:47 +02:00
parent 128ae21088
commit 4b0d1df34f
5 changed files with 8402 additions and 63 deletions

View File

@@ -16,6 +16,10 @@ The commands in this tutorial assume that you are running them from the root dir
Open a terminal and navigate (`cd`) to the directory where your project should be created.
Run the following command to initialize a new project and open it in VSCode:
```bash
m4g init todo-app
```
## Setup the database
Our todo app needs to keep track of todos, so it needs a storage mechanism of some sorts. A database should be one
@@ -55,7 +59,7 @@ If you've already initialized a project, you can also change the platform prefix
### Create the entities
Now that the database is running, we can start to create our entities. Run the commands below to create the `Todo` &
Now that the database is running, we can start creating our entities. Run the commands below to create the `Todo` &
`Tag` entities.
```bash