Change the return schema of the /projects/ route to be: {username: username, project: { /*project object*/ } }
The current implementation doesn't seem as scalable as I'd like (due to the dynamic array sizing), but it works and wouldn't see performance issues for a while, so it a theoretical system it could be considered far down the track.
Change the return schema of the /projects/ route to be:
{username: username, project: { /*project object*/ } }
The current implementation doesn't seem as scalable as I'd like (due to the dynamic array sizing), but it works and wouldn't see performance issues for a while, so it a theoretical system it could be considered far down the track.