Write apps like equations!
Code as simple and precise as Mathematical Expressions. Presto is written in PureScript harnessing the powers of Functional Programming & Category Theory. What you get is scalable, performant code with elegant abstractions. Our attempt with Presto is to really simplify the app development process.
You can get your hands dirty by building a mobile recharge app using Presto
git clone https://github.com/juspay/purescript-presto.git
Open http://localhost:8080/dist/ in your browser.
billPayFlow :: Flow BillPayFailure StatusScreenAction
billPayFlow = do
_ <- UI.splashScreen
operators <- Remote.fetchOperators
operator <- UI.chooseOperator operators
mobileNumber <- UI.askMobileNumber
amount <- UI.askAmount
result <- Remote.payBill mobileNumber amount operator
UI.billPayStatus mobileNumber amount result
See examples directory for more samples.
You can try out the below examples.
Presto Guide makes it easy to get started and start building great apps very quickly. We are continually improving Presto's documentation and welcome suggestions of topics we could explain in greater detail. Please send an email to firstname.lastname@example.org with your requests.
bower i purescript-presto
Get updates on improvements to Presto and chat with the project maintainers and community members.
See the CONTRIBUTING.md file for details.