# Admin Dashboard

The admin dashboard provides tools for managing users, invitations, and viewing system statistics.

## Creating the First Admin User

Visit /setup

## Accessing the Admin Dashboard

1. **Note:** Authentication system is not yet implemented. You'll need to set `session[:user_id]` manually in the console or implement the authentication controllers first.

2. Once authenticated, navigate to `/admin` to access the dashboard.

## Admin Features

### Dashboard (`/admin`)
- View system statistics (users, entries, suggestions)
- Language completion percentages
- Recent activity (new users, new entries)
- Pending invitations count

### User Management (`/admin/users`)
- List all users with filtering
- Edit user details and roles
- Delete users (except yourself)
- View user status (active/invited)

### Invitations (`/admin/invitations`)
- Send new invitations
- View pending invitations (not yet accepted)
- Cancel pending invitations
- View recently accepted invitations
- Invitations expire after 14 days
