Giter Club home page Giter Club logo

create-haskstar-app's Issues

Miso scaffolding

I'd like this for miso, would be cool to have the following wrapped-up in one command:

  • Login / Register views
  • User / Session tables (custom provider)
  • Password hashing w/ scrypt
  • OAuth (login w/ fb / twitter / google, etc.) (OAuth provider)
  • Cookie / JWT (ala servant-auth)
  • Deployment scripts config.nix / module.nix (free SSL certs via letsencrypt.org) w/ nginx
    • see miso/examples/haskell-miso.org for these
  • Uses pre-rendering (isomorphic) on both authenticated / unauthenticated endpoints.
    • Will need to disable CSRF token check on GET in servant-auth for this.
  • Bulma (https://bulma.io) - css only framework via CDN.
  • Logos from https://thenounproject.com
  • Icons from https://fontawesome.com

Choosing which db library to use will be tough, have heard good things about beam though... acid-state with the remote backend could be an option. Either way making a Context datatype (like a mock of db operations to get inversion of control) would be ideal. So the user could swap out backend implementations.

data Context
  = Context
  { updateUser :: (User -> User) -> IO ()
  , getWidgetsByUserId :: UserId -> IO [Widget]
  }
  -- etc..

But yea, a scaffolding using nix would be ideal, where the user could just do a nixops deploy would be huge.

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.