Skip to content

glimr-org/website

Repository files navigation

Glimr Website ✨

The official Glimr website, built with Glimr itself. This repo serves as both the landing page and a real-world example of a Glimr application.

Running locally

Prerequisites: Gleam, Erlang/OTP, and Node.js.

# Install dependencies
gleam build
npm install

# Set up environment
cp .env.example .env

# Run migrations
./glimr migrate

# Start the dev server
./glimr run

The site will be available at http://localhost:8000.

Project structure

src/
  app/
    http/
      controllers/       # Route handlers
      validators/        # Form validation
    console/
      commands/          # CLI commands
  resources/
    views/               # Loom templates (.loom.html)
      components/        # Reusable components
        icons/           # SVG icon components
        layouts/         # Page layouts
    css/                 # Stylesheets
    ts/                  # TypeScript (Shiki, Alpine)
  database/              # Models, migrations, queries
priv/
  static/
    images/              # Static images
config/                  # App, database, session config

Tech stack

License

MIT

About

✨ The official Glimr website

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors