NodeJS -> switch routes CRUD