Pundit VS wasp

Compare Pundit vs wasp and see what are their differences.

Pundit

Minimal authorization through OO design and pure Ruby classes (by varvet)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Pundit wasp
25 197
8,175 11,779
0.3% 7.9%
6.7 9.7
about 1 month ago 6 days ago
Ruby TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Pundit

Posts with mentions or reviews of Pundit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-07.
  • A guide to Auth & Access Control in web apps 🔐
    8 projects | dev.to | 7 Nov 2023
    https://github.com/varvet/pundit Popular open-source Ruby library focused around the notion of policies, giving you the freedom to implement your own approach based on that.
  • Pundit VS Action Policy - a user suggested alternative
    2 projects | 2 Jul 2023
  • Launch HN: Infield (YC W20) – Safer, faster dependency upgrades
    4 projects | news.ycombinator.com | 8 Jun 2023
    Can you expand a little? Here's some technical background on what we're doing:

    We have our own database of every version of every rubygems package alongside its runtime dependencies (like you see at https://rubygems.org/gems/pundit).

    Then we parse your Gemfile and Gemfile.lock. We use the Gemfile to figure out gem group and pinned requirements (we run turn your Gemfile into a ruby AST since Gemfiles can be arbitrary ruby code; we use bundler's APIs to parse your Gemfile.lock). This gives us all of the dependencies your rely on.

    Then we let you choose one or more package that you want to upgrade and the version you want to target (let's say Rails 7.0.4.3).

    Now we have [your dependencies and their current versions], [target rails version], [all of the runtime dependency constraints of these gems]. We run this through a dependency resolution algorithm (pubgrub). If it resolves then you're good to upgrade to that version of Rails without changing anything.

    If this fails to resolve, it's because one or more of your current dependencies has a runtime restriction on rails (or another indirect gem being pulled in by the new rails version). This is where the optimization part comes in. The problem becomes "what is the optimal set of versions of all your dependencies that would resolve with the next version of Rails". Currently we solve for this set trying to optimize for the fewest upgrades. As our dataset of breaking changes gets better we'll change that to optimizing for the "lowest effort".

    Happy to elaborate.

  • Authentication, Roles, and Authorization... oh my.
    6 projects | /r/rails | 26 Apr 2023
    For authorization, I'm going back and forth with Pundit and CanCanCan
  • Protect your GraphQL data with resource_policy
    3 projects | dev.to | 20 Feb 2023
    Expressing authorization rules can be a bit challenging with the use of other authorization gems, such as pundit or cancancan. The resource_policy gem provides a more concise and expressive policy definition that uses a simple block-based syntax that makes it easy to understand and write authorization rules for each attribute.
  • Default to Deny for More Secure Apps
    1 project | dev.to | 18 Jan 2023
    As an example of how to default to deny, consider a Ruby on Rails app (as we tend to do). The primary way a user interacts with the app is through API endpoints powered by controllers. We use Pundit, a popular authorization library for Rails, to manage user permissions.
  • Permissions (access control) in web apps
    7 projects | dev.to | 30 Nov 2022
    https://github.com/varvet/pundit Popular open-source Ruby library focused around the notion of policies, giving you the freedom to implement your own approach based on that.
  • YAGNI exceptions
    3 projects | /r/programming | 17 Oct 2022
    PS If you do mobile / web work (or something else with "detached" UI), I find that declarative access control rules are far superior to imperative ones, because they can be serialized and shipped over the wire. For example, backend running cancancan can be easily send the same rules to casl on the frontend, while if you used something like pundit to secure your backend, you either end up re-implementing it in the frontend, or sending ton of "canEdit" flags with every record.
  • Best practice for displaying info to different user roles?
    3 projects | /r/rails | 4 Oct 2022
    You can use a combination of an authorization gem (https://github.com/varvet/pundit) and decorators (https://www.rubyguides.com/2018/04/decorator-pattern-in-ruby/) if you want to extend functionality based on their roles.
  • Concerns about authorization when going in production
    2 projects | /r/rails | 16 Aug 2022
    Use Action Policy or Pundit, and write tests for your policies. Authz is worth testing with near complete coverage.

wasp

Posts with mentions or reviews of wasp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-08.
  • Wasp x Supabase: Smokin’ Hot Full-Stack Combo 🌶️ 🔥
    8 projects | dev.to | 8 May 2024
    We used Wasp’s built-in auth which makes your auth totally yours and independent of any 3rd party service. Under the hood, it uses Lucia and Arctic to give you email, username and multiple OAuth providers out of the box.
  • Ask HN: Would you use a Low-effort Microservice Builder?
    2 projects | news.ycombinator.com | 6 May 2024
    Wasp (https://github.com/wasp-lang/wasp) has actually worked out quite well! It just crossed 10k stars on GitHub and is currently the fastest-growing full-stack framework for React & Node.js. It's being used in both startups and enterprises.

    Although Wasp has its own DSL/compiler, the secret to its adoption is probably that it works with the existing stack, like React & Node.js. From the developer's perspective, it feels like a framework; the "compiler" part is just what gives it its superpowers.

  • 🕸️ Web development trends we will see in 2024 👀
    3 projects | dev.to | 2 May 2024
    Another example of a React framework utilizing Vite to give their users a SPA experience is Wasp - a full-stack framework for React & Node.js that drastically cuts the boilerplate. Despite being a full-stack framework, it focuses on the standardized approach of deploying a client-side React app with a Node.js server to be as portable as possible. With this approach, you can deploy your app pretty much anywhere, as well as self-host it, which is also a thing that we mentioned before in this article.
  • Using Wasp to Build Full-Stack Web Applications on Koyeb
    2 projects | dev.to | 2 May 2024
    As before, you will be redirected to the application's login page. Click to link to sign up to create a new account. After authenticating, you will be able to access the todo list functionality as before. ## Conclusion In this guide, we demonstrated how to build and deploy a Wasp application to Koyeb. We started with one of Wasp's templates to create a working, full-stack web application backed by a database. We migrated the application's configuration from a local SQLite database to an external PostgreSQL database to prepare for deployment. Afterwards, we created a multi-stage `Dockerfile` to build and configure our various application layers. Finally, we deployed the backend and web app to Koyeb by targeting different stages in the `Dockerfile`. This tutorial covers the basics of how to manage a Wasp project and deploy to a production environment. As you continue to develop your projects, be sure to check out the [Wasp documentation](https://wasp-lang.dev/docs) to learn how to integrate new features, work with the data model, and leverage the development framework to make your life easier.
  • 🥇The first framework that lets you visualize your React/NodeJS app 🤯
    1 project | dev.to | 23 Apr 2024
    First off, Wasp is a full-stack React, NodeJS, and Prisma framework with superpowers. It just crossed 10,000 stars on GitHub, and it has been used to create over 50,000 projects.
  • Getting started with Open SaaS
    3 projects | dev.to | 21 Apr 2024
    When building AI Blog Articles, I decided to get started as fast as possible. So I looked for a free boilerplate and stumbled upon Open SaaS, which used YC-backed Wasp. It is a full-stack React + NodeJS + Prisma that takes 8 hours to get started with.
  • Ask HN: What's a batteries-included framework that's React-first?
    3 projects | news.ycombinator.com | 18 Apr 2024
    Exactly. Wasp, https://wasp-lang.dev, is the only framework in the React/Node/Prisma space that's taking this opinionated approach to full-stack development.

    For example, you get full-stack auth by just adding this to your config file:

    `auth.methods: { email: {}, google: {} }`

    Then you on-the-fly Auth UI components and all the necessary hooks

  • 🕵️‍♂️ The Art of Self-Learning: How to Teach Yourself Any Programming Concept 🤓
    3 projects | dev.to | 16 Apr 2024
    If you already have some sort of foundation in programming, use AI and some great abstractions/frameworks to get things done even faster. For example, instead of creating everything from the ground up (and probably suffering on little things along the way) you can skip repeating yourself a ton of times by using Wasp, which is a great React/Node full-stack framework that takes care of managing the boilerplate side of programming for you. 🤯
  • Aider: AI pair programming in your terminal
    13 projects | news.ycombinator.com | 10 Apr 2024
    Aider is one of my favorite AI agents, especially because it can work with existing codebases. We've seen a lot of good results from folks who used it with Wasp (https://github.com/wasp-lang/wasp) - a full-stack web framework I'm working on.

    A "marketingy" demo video: https://www.youtube.com/watch?v=DXunbNBpgZg&ab_channel=Wasp

  • Garden – The Design System by Zendesk
    1 project | news.ycombinator.com | 7 Mar 2024

What are some alternatives?

When comparing Pundit and wasp you can also consider the following projects:

CanCanCan - The authorization Gem for Ruby on Rails.

reflex - 🕸️ Web apps in pure Python 🐍

rolify - Role management library with resource scoping

redwood - The App Framework for Startups

Action Policy - Authorization framework for Ruby/Rails applications

Mobile-First-RWD - An example of a mobile-first responsive web design

Devise - Flexible authentication solution for Rails with Warden.

dhall-lang - Maintainable configuration files

Authority

react-admin - A frontend Framework for building data-driven applications running on top of REST/GraphQL APIs, using TypeScript, React and Material Design

Declarative Authorization - An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails

ansible-dhall-jsonnet