ratemyclient/lib/my_first_elixir_vibe_code/application.ex
Kevin Sivic 9ece312442 Initial commit: RateMyClient™ Phoenix application
Features:
- User registration and authentication with email/password
- Admin login with username-based authentication (separate from regular users)
- Review system for contractors to rate clients
- Star rating system with review forms
- Client identification with private data protection
- Contractor registration with document verification
- Admin dashboard for review management
- Contact form (demo, non-functional)
- Responsive navigation with DaisyUI components
- Docker Compose setup for production deployment
- PostgreSQL database with Ecto migrations
- High Vis color scheme (dark background with safety orange/green)

Admin credentials: username: admin, password: admin123

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 21:30:50 -05:00

34 lines
1.2 KiB
Elixir

defmodule MyFirstElixirVibeCode.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
MyFirstElixirVibeCodeWeb.Telemetry,
MyFirstElixirVibeCode.Repo,
{DNSCluster, query: Application.get_env(:my_first_elixir_vibe_code, :dns_cluster_query) || :ignore},
{Phoenix.PubSub, name: MyFirstElixirVibeCode.PubSub},
# Start a worker by calling: MyFirstElixirVibeCode.Worker.start_link(arg)
# {MyFirstElixirVibeCode.Worker, arg},
# Start to serve requests, typically the last entry
MyFirstElixirVibeCodeWeb.Endpoint
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: MyFirstElixirVibeCode.Supervisor]
Supervisor.start_link(children, opts)
end
# Tell Phoenix to update the endpoint configuration
# whenever the application is updated.
@impl true
def config_change(changed, _new, removed) do
MyFirstElixirVibeCodeWeb.Endpoint.config_change(changed, removed)
:ok
end
end