Your ODAC Site is
Ready to Build.

A next-generation framework for modern web applications. Fast, secure, and zero-config by design.

Project Structure

Everything has a place. Convention over configuration.

my-project/
├── controller/     # Request handlers
├── middleware/     # Route middlewares
├── public/         # Static assets
├── route/          # Route definitions
├── schema/         # Database schemas
├── skeleton/       # Page layouts
├── view/
│   ├── content/    # Page templates
│   ├── css/        # Tailwind source
│   ├── head/       # <head> partials
│   ├── header/     # Header partials
│   └── footer/     # Footer partials
└── odac.json       # Configuration

controller/

Your application logic. Each file handles requests and prepares data for views.

route/

Map URLs to controllers. Simple, declarative routing.

view/

HTML templates organized by type. Tailwind CSS source lives in view/css/.

schema/

Database table definitions. Auto-migrated on every startup.

skeleton/

Page layouts that wrap your content. Define once, reuse everywhere.

odac.json

Centralized config for database, routes, and framework behavior.

Quick Start

Four steps to your first custom page.

1

Define a Route

Map a URL to a controller in route/www.js

Odac.Route.page('/my-page', 'page.mypage')
2

Create a Controller

Add logic in controller/page/mypage.js

module.exports = function(Odac) {
  Odac.View.set({
    skeleton: 'main',
    head: 'main',
    header: 'main',
    content: 'mypage',
    footer: 'main'
  })
}
3

Build the View

Create your template in view/content/mypage.html

<section class="py-12">
  <h1 class="text-4xl font-bold">My Page</h1>
  <p class="text-brand-900/50">Welcome!</p>
</section>
4

Style with Tailwind

Customize the theme in view/css/app.css

@theme {
  --color-brand: #0071e3;
  --font-display: "Inter", sans-serif;
}

Built for modern scale.

Enterprise grade performance out of the box.

AJAX Navigation

Smooth page transitions without full reloads, giving your users a native app feel.

Security First

Automatic CSRF protection and secure session management built into the core.

Sub-ms Latency

Optimized routing and view engine designed for the highest possible throughput.

Tailwind Included

The default template now leverages Tailwind CSS for professional, scalable designs.

Ready to build the future?

Start by editing view/content/home.html to replace this page with your own vision.