Git Product home page Git Product logo

does-it-scale's Introduction

Does it scale logo with text saying build what you want without the unknowns

Welcome to DoesItScale.dev

Try me!

DoesItScale.dev helps you compare pricing for different developer tools so you can build what you want without the unknowns. Our algorithms for pricing comparison are open sourced in this repository, allowing you to see how we calculate and compare costs across different services.

About This Repository

This repository contains:

  • Open Source Pricing Algorithms: These are available for community use and contributions. If you spot an issue or an outdated pricing model, please submit a pull request or open an issue.
  • Local Test UI: A UI that displays the data for these algorithms, designed for local testing and development.

Contribution Guide

We welcome contributions of all kinds from the community:

  • Update Pricing: If you have more current pricing information, please submit a pull request with the updated data.
  • Add New Services: Help us expand our comparisons by adding new services to the algorithms.

Adding a New Auth Provider

To add a new auth provider:

  1. Open the services/auth/pricing.ts file.
  2. Create a new function to calculate the cost for the auth provider, e.g., calculateNewAuthCost.
  3. Implement the pricing logic based on the provider's pricing model.
  4. Add a new entry to the prices array with the service name, icon, pricing data, color, and pricing page URL.
  5. Add a new entry to the pricingBreakdown object with the pricing details for the new provider.
  6. Add the icon to the src/icons you specifed in the prices array
  7. Submit a pull request with your changes.

Example:

// Add the new auth provider pricing function
export function calculateNewAuthCost(users: number): number {
  // Implement the pricing logic for the new auth provider
  // ...
}

export const prices: ServicePrice[] = [
  // ...
  {
    service: "New Auth",
    iconName: "newauth",
    users5k: calculateNewAuthCost(5000),
    users10k: calculateNewAuthCost(10000),
    users50k: calculateNewAuthCost(50000),
    users100k: calculateNewAuthCost(100000),
    users1m: calculateNewAuthCost(1000000),
    users2m: calculateNewAuthCost(2000000),
    color: "#ff0000",
    pricingPage: "https://newauth.com/pricing",
  },
  // ...
];

export const pricingBreakdown: PricingBreakdown = {
  // ...
  "New Auth": [
    "Pricing details for New Auth",
    // ...
  ],
  // ...
};

Updating an Auth Provider

To update an existing auth provider:

  1. Open the services/auth/pricing.ts file.
  2. Locate the function that calculates the cost for the auth provider you want to update, e.g., calculateFirebaseAuthCost.
  3. Update the pricing logic and rates according to the latest information.
  4. Update the corresponding entry in the pricingBreakdown object with the new pricing details.
  5. Submit a pull request with your changes.

Getting Started

  1. Clone the repository:
    git clone https://github.com/Porter-smith/does-it-scale.git
  2. Install dependencies:
    cd doesitscale.dev
    pnpm install
  3. Run the project locally:
    pnpm dev

More Information

Please note that while the pricing and authentication algorithms are open source, the frontend code is maintained separately and is not open sourced.

does-it-scale's People

Contributors

porter-smith avatar codercatdev avatar

Stargazers

Blanford Robinson avatar Fernando Bold avatar Moisés Lopes Ferreira avatar Lachlan Collins avatar Jon Insley avatar Daniel Olshansky avatar Clayton Kehoe avatar AK Sarav  avatar Raymel Francisco avatar Bödei Károly avatar Chauvin Antoine avatar storytellar avatar  avatar Cebe avatar Ohans Emmanuel avatar Rishu Mehrotra avatar Jason Morganson avatar

Watchers

Blanford Robinson avatar  avatar

Forkers

codercatdev

does-it-scale's Issues

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.