JacobPernell / songbird

Web-based MIDI piano roll editor for quick music sketches
1 stars 1 forks source link

[51]: add service client #60

Closed mi4l closed 5 years ago

mi4l commented 5 years ago

Issue

Closes #53

The point of this is to basically have a place where you can test our various endpoints.

This is an extremely basic and untested service client. Right now it can only make GET requests, and won't actually reveal a response. This is the most basic infrastructure + front end.

Here are some TODOs:

54 Have gulp separate out service client files

55 Add functionality for POST requests

56 Reveal response on screen

57 Add basic styles

58 setup service client tests

59 Ignore service client in production. We don't want that extra code out in the wild.

Pics:

On page load:

screen shot 2018-11-11 at 1 55 57 pm

Requesting to an invalid endpoint:

screen shot 2018-11-11 at 2 16 57 pm

Failing request:

screen shot 2018-11-11 at 2 17 08 pm

Successful request:

screen shot 2018-11-11 at 2 17 31 pm

/review @JacobPernell @mskalandunas