alexmingoia / pux-starter-app

Starter Pux app w/ hot-reloading and isomorphic routing and rendering
https://www.purescript-pux.org
BSD 3-Clause "New" or "Revised" License
101 stars 39 forks source link

Use Hyper instead of Express #31

Closed alexmingoia closed 7 years ago

alexmingoia commented 7 years ago

The HTTP server should use purescript-hyper instead of purescript-express. It's the new hotness.

owickstrom commented 7 years ago

Happy to help if there's anything! :)

alexmingoia commented 7 years ago

You're welcome to take a stab at it if you want. I won't be able to get to this for a while. Also might want to wait for alexmingoia/purescript-pux#116

src/Server.purs would need to be rewritten, along with some other alternative to using webpack's express middleware in webpack.config.client.js

It shouldn't be too hard... all the HTTP server is used for is to render the app and serve some static assets. Hot-reloading can make things tricky.

alexmingoia commented 7 years ago

The newest release uses Hyper and works with PureScript 0.11