Thursday, 11 May 2017

Express routes planning if I want to get/update everything

Built only simple express backend before, now the new React project needs to load projects/tasks/users on first enter. should I just make a route like api/everything, or make three separate GET calls to api/project api/task api/user? (BTW, I'm trying to follow REST practice yet now fully understand it, all tutorial I find focuses on concept and 'to do not to do' but no detailed demo.)



via Fate Riddle

No comments:

Post a Comment