a7ddb56b9b
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
16 lines
328 B
Nix
16 lines
328 B
Nix
let
|
|
pkgs = import /home/wpcarro/nixpkgs {};
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
elmPackages.elm
|
|
elmPackages.elm-format
|
|
elmPackages.elm-live
|
|
(haskellPackages.ghcWithPackages (hpkgs: [
|
|
hpkgs.hspec
|
|
hpkgs.servant-server
|
|
hpkgs.aeson
|
|
hpkgs.wai-cors
|
|
hpkgs.warp
|
|
]))
|
|
];
|
|
}
|