Giter Site home page Giter Site logo

purescript-presto's Introduction

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.

Talk on Presto @FunctionalConf
Slides

Quickstart

You can get your hands dirty by building a mobile recharge app using Presto

git clone https://github.com/juspay/purescript-presto.git
cd examples/billpay-react
npm i
bower i
npm start

Open http://localhost:8080/dist/ in your browser.

Code Snippet

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.

Examples

You can try out the below examples.

Learning Presto

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 [email protected] with your requests.

Add Presto to your existing project

bower i purescript-presto

Apps in Production

BHIM - Payments App, 17 Million Total Users
JuspaySafe - Payments Browser, 800 Million Txns Processed
JuspayFuel - Payments Solution for Gas Stations, 1000s of Outlets

Community

Get updates on improvements to Presto and chat with the project maintainers and community members.

Join a discussion or start one at our forum or gitter channel.

Contributing

See the CONTRIBUTING.md file for details.

purescript-presto's People

Contributors

dilipzotha avatar georgevarghese185 avatar iammrinal0 avatar knaman2609 avatar venkatesh-juspay avatar zereraz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.