NoEgo Tutorial
Build a complete full-stack TypeScript application from scratch. Each step builds on the previous one.
Getting Started
Install NoEgo and create your first application scaffold.
Project Structure
Understand the directory layout and configuration files.
First Page
Create your first Svelte page with reactive state and Forge routing.
Routing
Define routes with OpenAPI and navigate between pages.
Database Setup
Configure SQLite and create migrations with Proper CLI.
Repository Layer
Write SQLStack repositories with co-located SQL queries.
Service Layer
Add business logic with IoC dependency injection.
Controllers + API
Expose services via controllers and OpenAPI routes.
Frontend Integration
Load data, submit forms, and refresh UI with page loaders.
Deployment
Deploy your NoEgo application to production.
What You'll Build
By the end of this tutorial, you'll have a fully functional task management API with a server-rendered UI.
Features
- RESTful API with OpenAPI documentation
- SQLite database with type-safe queries
- Dependency injection for testable code
- Server-rendered Svelte 5 components
- Comprehensive test suite
Technologies Used
Prerequisites
- Node.js 20.11 or higher
- Basic TypeScript knowledge
- Familiarity with REST APIs
- A code editor (VS Code recommended)