IHP 1.0 is out now!
Create a new thread +
Running IHP as a systemd service on NixOS
Lillo PRO
Hi! This might be mostly systemd related, but I'm trying to run IHP as a systemd service on a NixOS webserver, eventually on DigitalOcean for a service I am making. Currently testing locally on my NixOS machine with a fresh IHP project.…
Add Response
some imports are not found
JGarber PRO
When I add imports to the Web.Component.Counter sample program some imports work and some do not. Imports that work include Text.Read and Data.Text. Imports that don't work include Data.Tuple.Curry and Text.XML.HXT.Arrow.Pickle. Depe…
Add Response
How do you deal with money?
axelbdt
Hello again! I am looking for pointers on how to handle money/pricing. Based on the stripe integration example, I represent the price of a Trip as an Integer, i.e the number of cents. I still want the user to read and input a decimal number…
Add Response
Help needed with validateFieldIO
axelbdt
Hello everyone, I am looking for a little help with the usage of validateFieldIO, as I am not used to the IO Monad yet. My user creates a bill for one of his clients by selecting him in a form in the NewBill action. The user is presented wi…
Add Response
Code formatter config that is compatible with code gen?
axelbdt
Hello, Love hacking on IHP so far, but I am confused about the code formatting config I should use so it is consistent with formatted code, any recommendation? Alternatively, I tried a heavy handed formatting of all haskell files of the boi…
Add Response
Routes inspection
Fidel
It would be nice to have a way to inspect (and edit?) all routes. Perhaps also to design a set of routes and obtain the Actions for them... Is there something like that already, or a plan to have it? …
Add Response
Validation with monadic operations
Fidel
When using withCustomErrorMessageIO, it adds the custom error message to whatever error happens to be there... That is, if I do: ... |> validateField #name nonEmpty |> withCustomErrorMessageIO "Name is already taken&quot…
Add Response
Expo IHP Backend
I was just trying out a new IHP Backend project based on the expo template. When I check out the templated project and run npm install I'm getting this error: [nix-shell:~/pymodules/attics-mobile]$ npm install npm ERR! code ERESOLVE np…
Add Response
Anyone had any luck with Haskell SSH clients?
I want to access and manage webservers through SSH with a web interface through IHP, and preferably get the output to print on screen. Preferably also have a way of knowing if it was successful or exited with an error. Are there any decent …
Add Response
Dealing with really big db tables, any advice?
Lillo PRO
Any advice for dealing with very big tables in IHP? Product page here has gotten so dreadfully slow even when paginated and client-side loaded: https://dill.network/Products There is 2 million products in the DB, so big, but I guess it'…
Add Response