gotrue VS PostgreSQL

Compare gotrue vs PostgreSQL and see what are their differences.

gotrue

An SWT based API for managing users and issuing SWT tokens. (by netlify)

PostgreSQL

Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch (by postgres)
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
gotrue PostgreSQL
22 410
3,722 14,788
1.0% 2.3%
3.6 10.0
5 months ago 1 day ago
Go C
MIT License GNU General Public License v3.0 or later
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.

gotrue

Posts with mentions or reviews of gotrue. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.
  • Supabase Auth: Identity Linking, Hooks, and HaveIBeenPwned integration
    3 projects | dev.to | 14 Dec 2023
    If you’ve been following us from the start, you will know that Supabase Auth started by forking Netlify’s GoTrue server. A lot has changed since then and we’ve diverged from the upstream repository. At this stage it makes sense to rename the project to something else (cues drumroll) — Auth.
  • FATA[0000] Error 1130: Host '172.17.0.1' is not allowed to connect to this MySQL server
    1 project | /r/AskProgramming | 19 May 2023
    I am testing gotrue netlift module https://github.com/netlify/gotrue
  • Netlify Gotrue – SWT based API for managing users and issuing SWT tokens
    1 project | news.ycombinator.com | 11 May 2023
    1 project | news.ycombinator.com | 2 May 2023
  • gotrxx VS gotrue - a user suggested alternative
    2 projects | 11 Mar 2023
    I guess since it's a deviation of it
  • GoTrue is a small open-source API written in Golang
    1 project | news.ycombinator.com | 8 Dec 2022
  • Ask HN: Ok to only allow Google/Apple/FB login for mobile app?
    1 project | news.ycombinator.com | 29 Aug 2022
    To answer point 1: Maybe to start out, but in the long run, having only social logins may cause your app to lose a segment of the market (I don't know how much). If you're fine with that, then by all means only support social logins.

    However, I strongly suggest having it (or some way for someone not to use a social provider) if you want to have as many users a possible.

    Personally, I don't have a google account, I'm wary to use my Apple account for non-Apple sites, and I don't have facebook, instagram, new gen z hotness app, etc... And I can confidently say I am not alone in choosing to use apps which don't require a social login.

    At the end of the day though, password auth isn't a non-trivial problem. It is a solved problem of which there are numerous articles/papers and many libraries for most languages/frameworks. For example, the Phoenix framework for Elixir has a built in command which scaffolds auth, and it works really well (I have used it in a personal project): https://hexdocs.pm/phoenix/mix_phx_gen_auth.html. For JS, you can use something like passport: https://www.passportjs.org/packages/passport-local/. If you want a separate service entirely (even though it would be more complex to have a separate service to start out), there is GoTrue: https://github.com/netlify/gotrue. These are just a few suggestions of tech I have come across. There is so much more out there, I encourage you to research options to see what may be a best fit.

    If you're worried about password auth, maybe give one time passwords a try. They don't require any password reset flow, and are generally secure when implemented correctly. As an example, I don't have a password for my craigslist account. Every time I want to login, I can choose to get a magic link/otp which gets exchanged for a session. In practice (and this is my personal opinion), I prefer magic links. They are one time, hard to guess (again dependent on implementation), can be time limited, and most likely won't be intercepted in transit (though it could be in a rare circumstance).

    To answer point 2: yes.

    If your app is to order things (I use things in a general term) it sounds like eCommerce. And if you're in eCommerce, you better have a way for a user to track what they have ordered and how much they have paid for it at a minimum. Otherwise, your site may come across as a scam, even though it uses Stripe. Sketchy sites can use Stripe to get your money (albeit, it'll be a one time payment).

    In conclusion, auth for your application seems crucial. Email/password auth is still relevant for applications. While not necessary for an MVP, there is a segment of the market you will lose if you don't have an email/password option, or even an email/OTP/magic link option (I don't know how much, really going off an educated guess).

    Best of wishes in building your app! I genuinely hope it is successful and safe for people to leverage :)

  • I got tired of fussing with auth, so I built a thing for building OAuth login in under 60 seconds.
    4 projects | /r/programming | 1 Jul 2022
    Use a self-hostable auth microservice like gotrue or authelia, ORY's suite of products, etc.
  • what should I do about authentication in golang?
    4 projects | /r/golang | 21 Jun 2022
  • actix-session 0.6.0 is out - an almost complete rewrite!
    1 project | /r/rust | 15 Mar 2022
    Any examples for implementation like https://github.com/netlify/gotrue for Actix-web?

PostgreSQL

Posts with mentions or reviews of PostgreSQL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-06.
  • OpenBSD 7.3 を 7.4 へ アップグレード
    3 projects | dev.to | 6 May 2024
  • What do you want to watch next? This is why I built GoodWatch.
    6 projects | dev.to | 5 May 2024
    Data Handling: Utilizes Windmill for data pipelines, with a primary database powered by PostgreSQL. Auxiliary data storage is handled by MongoDB, with Redis for caching to optimize performance
  • System Design: Databases and DBMS
    12 projects | dev.to | 1 May 2024
    PostgreSQL
  • Presentación del Operador LMS Moodle
    5 projects | dev.to | 29 Apr 2024
  • Introducing LMS Moodle Operator
    5 projects | dev.to | 29 Apr 2024
    The LMS Moodle Operator serves as a meta-operator, orchestrating the deployment and management of Moodle instances in Kubernetes. It handles the entire stack required to run Moodle, including components like Postgres, Keydb, NFS-Ganesha, and Moodle itself. Each of these components has its own Kubernetes Operator, ensuring seamless integration and management.
  • Integrate txtai with Postgres
    2 projects | dev.to | 25 Apr 2024
    Another key feature of txtai is being able to quickly move from prototyping to production. This article will demonstrate how txtai can integrate with Postgres, a powerful, production-ready and open source object-relational database system. After txtai persists content to Postgres, we'll show it can be directly queried with SQL from any Postgres client
  • Understanding SQL vs. NoSQL Databases: A Beginner's Guide
    5 projects | dev.to | 9 Apr 2024
    SQL (Structured Query Language) databases are relational databases. They organize data into tables with rows and columns, and they use SQL for querying and managing data. Examples include MySQL, PostgreSQL, and SQLite.
  • From zero to hero: using SQL databases in Node.js made easy
    3 projects | dev.to | 19 Mar 2024
    Node.js, MySQL and PostgreSQL servers installed on your machine
  • I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
    8 projects | dev.to | 18 Mar 2024
    Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
  • How to dump and restore a Postgres DB with new table ownership
    2 projects | dev.to | 14 Mar 2024
    I've used MySQL for years. But recently, I found myself working PostgreSQL and simple things like dumping and restoring a database are different enough that I decided to document the process. It's straightforward enough once I knew how.

What are some alternatives?

When comparing gotrue and PostgreSQL you can also consider the following projects:

supabase - The open source Firebase alternative.

psycopg2 - PostgreSQL database adapter for the Python programming language

postgrest - REST API for any Postgres database

ClickHouse - ClickHouse® is a free analytics DBMS for big data

authelia - The Single Sign-On Multi-Factor portal for web apps

phpMyAdmin - A web interface for MySQL and MariaDB

hasura_gotrue - This is a slightly extended version of Netlify's GoTrue. It includes a `docker-compose.yaml` file to deploy it together with Hasura. This set up uses two databases, PostgreSQL for Hasura and MariaDB for GoTrue. Have fun!

Firebird - FB/Java plugin for Firebird

nextjs-supabase-auth - Sample project for setting up Supabase Auth in Next.js

Adminer - Database management in a single PHP file

supabase-auth-react

SQLAlchemy - The Database Toolkit for Python