teco-kit / explorer

GNU General Public License v3.0
1 stars 0 forks source link

Improve URL Semantics #6

Closed TobiasRoeddiger closed 3 years ago

TobiasRoeddiger commented 3 years ago

projects are uniquly identified by the person that created it (admin/owner) and the name of the project. Therefore an admin can only have on repository with the same name.

This will serve to have a improved url. A project is identified by: /:username/:projectname

Other routes then may be:

tk-king commented 3 years ago

Change url from projectId to projectName and enforce URL friendly characters in the projectName. Allowed characters are Numbers form 0-9, characters a-z, A-Z, - , _.