From a7ddb56b9bdca9773d6d0b71ffa128cd64c9485e Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 6 Aug 2020 22:21:30 +0100 Subject: Support echo server to test POST /verify TL;DR: - Add common dependencies like Servant, Aeson, Warp, Cors - Define a POST /verify endpoint for our client to hit - POST to /verify client-side onSignIn --- website/sandbox/learnpianochords/shell.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'website/sandbox/learnpianochords/shell.nix') diff --git a/website/sandbox/learnpianochords/shell.nix b/website/sandbox/learnpianochords/shell.nix index bf7a640fd1cf..ea5a404b33a0 100644 --- a/website/sandbox/learnpianochords/shell.nix +++ b/website/sandbox/learnpianochords/shell.nix @@ -5,8 +5,12 @@ in pkgs.mkShell { elmPackages.elm elmPackages.elm-format elmPackages.elm-live - (haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [ - hspec + (haskellPackages.ghcWithPackages (hpkgs: [ + hpkgs.hspec + hpkgs.servant-server + hpkgs.aeson + hpkgs.wai-cors + hpkgs.warp ])) ]; } -- cgit 1.4.1