spacebarchat / spacebarchat/server

[CDN] Move internal upload routes

Open
#1,456 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.2k
Forks
323
Avg merge
14h 48m
Merged PRs (30d)
4

Description

We have random routes mixed in that require server-internal auth, should probably move them under /_spacebar/cdn instead?
Would be nice if we had both upload and delete routes here, so we can use the CDN as a "file storage abstraction layer" when ie. deleting messages/users/...

Contributor guide

Open the contributing guide

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

Start by locating the existing internal upload routes and the CDN route entry points in the server. Determine the intended /_spacebar/cdn upload and delete route set, then verify that both operations use the required server-internal authentication and support the stated file-storage abstraction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.