prisma-examples
@databases
Our great sponsors
prisma-examples | @databases | |
---|---|---|
53 | 13 | |
5,823 | 587 | |
1.8% | - | |
9.8 | 5.7 | |
4 days ago | 25 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
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.
prisma-examples
-
Implementing vector search with OpenAI, Next.js, and Supabase
The usefulness of vector search is already evident by the rate of generative AI adoption. Almost every mainstream documentation site now has an Ask AI button, including Supabase, Netlify, Prisma, and many more.
-
Next.js 14 Booking App with Live Data Scraping using Scraping Browser
Prisma
-
Building a Secure RESTful API Using NestJS and Prisma With Minimum Code
We'll use a simple blogging app as an example through out this article. Our work will be based on the NestJS + Prisma starter project here. You can also create a new project from it with a one liner:
- Web development feels daunting – What am I doing wrong?
-
Ask HN: What is the best product documentation you’ve ever seen?
Prisma's docs[0] are one of the best I've read
[0] https://www.prisma.io/docs
- Next-auth - use Accounts table just for access_token to call OAuth APIs without registering new Users?
-
Generador de codigo para api graphql?
Quiero algo de este estilo: https://github.com/prisma/prisma-examples/tree/latest/typescript/graphql-nexus
-
ORM, Prisma, and How You Should Build Your Next Backend Database Project
Prisma is a package that invites new users. It is well-documented and well-suited for your first or 50th Node project. Their documentation contains comprehensive information on the features available. You can also access several guides, including introductory "how-tos," steps for deploying applications that use Prisma, and instructions on migrating from another ORM. The guides are thorough, up-to-date, and easy to follow. In addition, Prisma's team has made sure your experience using their ORM is as painless as possible.
-
SQL Versus NoSQL Databases: Which to Use, When, and Why
And that's how we can use a Node.js library like Prisma to work with NoSQL and SQL databases. Prisma's documentation page gives further details about this process.
-
Seeding your database with Prisma ORM
We will follow the documentation to get started with Prisma. You can read and also take a reference to the documentation.
@databases
-
Node Core Dev Starter Kit
At Databases because you don't need ORM.
-
Looking for a type safe ORM/mapper
Depending on the complexity of your queries, Prisma might indeed not be the best abstraction for you. If you're proficient in SQL and don't want to sacrifice type-safety, there are really nice, low-level alternatives to Prisma such as Zapatos, Slonik or atdatabases. We're laying this out in our docs here: Should you use Prisma?
-
Top 10 Node.js Security Best Practices
I built https://www.atdatabases.org to make this as easy as possible to get right when querying SQL databases with node.js
-
General ORM question - How costly is not using a SELECT ATTRIBUTES clause?
Depends a lot on the size of your database records. We’ve found that for a few tables with big JSONB columns it can make a huge difference but for 90% of queries it makes very little difference. https://www.atdatabases.org with @databases/pg-typed or @databases/mysql-typed also keeps the types in sync with which columns you select.
-
SQL result into variable
Since the method is marked as async, you can use await to get the results of a query (if your database library supports promises. For example with https://www.atdatabases.org as your db library you could do
-
What are popular ORMs for Node.js?
I found Prisma close but not quite there. That's part of what motivated me to keep working on https://www.atdatabases.org, which I think is already there as an enterprise ready ORM for node.js
- Atdatabases: TypeScript Clients for Databases
-
what node ORM is worth it to learn
I built https://www.atdatabases.org which has an ORM for node.js, but also supports writing SQL queries in a safe way. It is type safe, and has much simpler & more flexible transaction support than most node.js ORMs.
-
Can you use Joi with SQL database?
If you’re using TypeScript and don’t have untrusted user data, @databases can generate static types, which can be a good alternative to runtime validation.
-
How do most people interact with a db these days?
Did either of you consider @databases? It has pretty much the same approach to SQL as Slonik. I’m curious if there’s any reason why Slonik is preferable?
What are some alternatives?
benchmark - MikroORM vs TypeORM benchmark of CRUD operations on 10k entities
Lowdb - Simple and fast JSON database
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
database-js - Common Database Interface for Node
ledokku - Beautiful web UI for all things Dokku
Keyv - Simple key-value storage with support for multiple backends
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
Mongo Seeding - 🌱 The ultimate solution for populating your MongoDB database.
napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API
pg-mem - An in memory postgres DB instance for your unit tests