72 lines
No EOL
2.6 KiB
Markdown
72 lines
No EOL
2.6 KiB
Markdown
# Homepage
|
|
|
|
## Table of Contents
|
|
|
|
- [Development](#Development)
|
|
- [Building](#Building)
|
|
- [Deployment](#Deployment)
|
|
- [Building](#Building-1)
|
|
|
|
## Development
|
|
|
|
### Building
|
|
|
|
## Deployment
|
|
|
|
### Building
|
|
|
|
## Project Structure
|
|
|
|
```bash
|
|
src
|
|
├── main
|
|
│ ├── kotlin
|
|
│ │ └── at
|
|
│ │ └── dokkae
|
|
│ │ └── homepage
|
|
│ │ ├── config
|
|
│ │ │ └── Environment.kt
|
|
│ │ ├── Homepage.kt # Application entrypoint
|
|
│ │ ├── repository # Persistence layer
|
|
│ │ │ ├── impls
|
|
│ │ │ │ └── JooqMessageRepository.kt
|
|
│ │ │ └── MessageRepository.kt
|
|
│ │ └── templates
|
|
│ │ ├── layout # HTML layouts. Usually include all page dependencies in the <head>.
|
|
│ │ │ └── MainLayout.kt
|
|
│ │ └── page # Usually wrapped in a layout, containing all elements found inside the <body>.
|
|
│ │ │ └── ChatPage.kt
|
|
│ │ └── partials # Contains all HTMX related snippets.
|
|
│ └── resources
|
|
│ ├── db
|
|
│ │ └── migration
|
|
│ │ ├── V001__add_update_and_create_timestamp_triggers.sql
|
|
│ │ ├── V002__add_message_table.sql
|
|
│ │ └── V003__fix_updated_at_insert_trigger.sql
|
|
│ └── public
|
|
│ │ # First-party static web files
|
|
│ ├── static
|
|
│ │ ├── css
|
|
│ │ │ └── index.css
|
|
│ │ ├── images
|
|
│ │ └── js
|
|
│ │ # External web dependencies. Uses the format '<name>/<version or first 8 characters from sha256>/<file>'.
|
|
│ └── vendor
|
|
│ ├── htmx
|
|
│ │ └── 2.0.8
|
|
│ │ └── htmx.min.js
|
|
│ ├── htmx-ext-sse
|
|
│ │ └── 2.2.4
|
|
│ │ └── htmx-ext-sse.min.js
|
|
│ ├── hyperscript
|
|
│ │ └── 3e834a3f
|
|
│ │ └── hyperscript.min.js
|
|
│ └── tailwindcss
|
|
│ └── 095aecf0
|
|
│ └── tailwindcss.min.js
|
|
└── test
|
|
└── kotlin
|
|
└── at
|
|
└── dokkae
|
|
└── homepage # Tests (and benchmarks?)
|
|
``` |