Skip to content

codetalkio/Haskell-Electron-app

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Haskell-Electron-app

A small example of using Electron with Haskell and Servant.

For a walkthrough of what is happening, check out the accompanying blog post Using Electron with Haskell

To launch the servant server from within Haskell-Electron-app/backend:

$ stack exec backend-exe

To launch the Electron app from within Haskell-Electron-app/haskell-app:

$ npm start

Building

You probably need to build the modules first.

For servant in Haskell-Electron-app/backend:

$ stack build

And for Electron in Haskell-Electron-app/haskell-app:

$ npm install