Todo App Example
This example demonstrates how to build a simple Todo backend using DotPortion. You’ll see how projects, schemas, secrets, and workflows come together to form a real API.What This Example Covers
- Project setup
- Database schema design
- Secrets configuration
- CRUD APIs for todos
- Platform Database (recommended)
- Simple REST-style workflows
Todo Features
- Create a todo
- Get all todos
- Update a todo
- Delete a todo
Example Structure
Follow this order:- Project – Create the Todo workspace
- Schema – Define the
todoscollection - Secrets – Add database & JWT secrets
- Workflows – Build CRUD APIs
Let’s start by creating the Project.