Bootstrap page and endpoint #1

Open
opened 2026-05-10 21:46:37 +02:00 by laurent · 0 comments
Owner

Context

When running the application for the first time, the users table is empty: there is no users in the database.

Self-hosted applications have a multitude of ways to create the initial data needed for the usage of the application. However, the most user-friendly is to have a bootstrap page (and endpoint, for automation?).

Requirements

  • When there is no users in the database, a bootstrap page is shown.
  • This bootstrap page allows the client to create a first user.
  • This bootstrap page should be secure (using a random token pasted in the application's console for exemple).
## Context When running the application for the first time, the `users` table is empty: there is no users in the database. Self-hosted applications have a multitude of ways to create the initial data needed for the usage of the application. However, the most user-friendly is to have a bootstrap page (and endpoint, for automation?). ## Requirements - When there is no users in the database, a bootstrap page is shown. - This bootstrap page allows the client to create a first user. - This bootstrap page should be secure (using a random token pasted in the application's console for exemple).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
laurent/trakk#1
No description provided.