luk707 / luk707/filemanager

Create workspaces table and repository

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backend enhancement
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Create a simple table and model for workspaces containing an ID, name, type, created_at and deleted_at. Presently the only type should be FILE_STORAGE

Create endpoints to create, update, and delete a workspace.

Update file repository methods to check that the workspace exists, and before accessing the bucket, check the bucket exists (else create it).

The type of the workspace should be immutable, the only thing that should be editable is the name.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named; start by locating the existing file repository methods and endpoint entry points, then inspect how tables and models are defined. Done means workspaces support the specified fields and FILE_STORAGE type, name-only updates, create/update/delete endpoints, workspace validation, and bucket creation before access.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.