We're happy to Announce Thin Backend - a blazing fast, universal web app backend for making realtime SPAs
Create a new thread +
Error installing/running latest IHP on Mac with M1 processor
rwkhan
Command I'm running to upgrade to latest IHP: nix-shell --run 'make -B .envrc build/ihp-lib' Error I'm getting: error: cycle detected in build of '/nix/store/jqfx8z69709v0mh0qg4ybiahiwzv5zlb-ghcid-0.8.7.drv' in the r…
Add Response
unrecognized configuration parameter "rls.ihp_user_id"
Manborough
Hi everyone, I'm getting an issue when I try to create a post with a foreign key relationship to the users table. The user_id column has a default value of ihp_user_id(). I can create posts again when I remove the column. This is the…
Add Response
Getting error updating IHP to 0.19
rwkhan
I run IHP on a mac with M1 processor so now that they're finally supported I'm getting an error when I try to update using the following command: Command: nix-shell --run 'make -B .envrc build/ihp-lib' Error I'm getting …
Add Response
Reactive HTML forms
JGarber
If I need to implement reactive HTML forms in an IHP project how would I go about doing that? Thanks. …
Add Response
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
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