83f94b1f09
Add complete documentation structure: - Frontend architecture documentation - Database schema documentation - Deployment guides (Docker, Traefik, Authentik, Environment) - Development guides (Setup, Testing, Contributing, Quality Gates) - Deployment architecture documentation - Updated docs README with complete navigation All new features and APIs are now documented. Quality gates: docs only, no code changes
2.1 KiB
2.1 KiB
Project Management
Overview
Projects are the top-level organizational unit in Headquarter. Each project can contain multiple git repositories and serves as a workspace for related development work.
How to Use
Creating a Project
- Navigate to the Projects page from the sidebar
- Click the "New Project" button
- Enter a name for your project (required)
- Optionally add a description
- Click "Create Project"
Viewing Projects
The Projects page displays all your projects in a card layout showing:
- Project name
- Description (if set)
- Creation date
- Associated repositories count
Opening a Project Workspace
Click on any project card to open its workspace. The workspace is the default view for a project and shows:
- Repository file browser
- Branch selector
- File viewer
Editing a Project
- From the Projects page, click the menu icon (⋮) on a project card
- Select "Edit"
- Update the name or description
- Click "Save"
Deleting a Project
- From the Projects page, click the menu icon (⋮) on a project card
- Select "Delete"
- Confirm the deletion
Note: Deleting a project also deletes all associated repositories and their data. This action cannot be undone.
Project Workspace
The project workspace is the default view when you click on a project. It provides:
- Repository Browser: Navigate files and directories
- File Viewer: View file contents with syntax highlighting
- Branch Management: Switch between branches
- Repository Switcher: Switch between project repositories
See Repository Workspace for detailed documentation.
API Reference
Endpoints
GET /projects- List all projectsPOST /projects- Create a new projectGET /projects/{id}- Get project detailsPUT /projects/{id}- Update a projectDELETE /projects/{id}- Delete a project
See Projects API for detailed endpoint documentation.
Related Features
- Repository Workspace - Browse and edit repository files
- Git Repositories - Manage project repositories