Arjan Dhakalblog.arjandhakal.com.np·Nov 21, 2023Backend with Fastify - Part 4 (Seeding Database with Knex)Continuing from part 3, we will explore how to seed data using Knex. To follow along, you can use the part-3 branch from this repo. The full code for this post is in the part-4 branch. Power of seeding Seed files allow us to populate the database wit...26 readsBackend with Fastifyknexjs
Arjan Dhakalblog.arjandhakal.com.np·Nov 9, 2023Backend with Fastify - Part 3 (Setting Up a PostgreSQL Database with Knex)Continuing from Part 2, our next step is to set up the database for our application. To follow along, you can clone this branch. The complete code for this part can be found here. To keep things straightforward for our purpose, we'll create two table...31 readsBackend with Fastifyfastify
Travis Horntravishorn.com·Jul 5, 2023Introducing the Knex Adapter for Auth.jsI am excited to share with you my latest open-source project, an unofficial adapter for Auth.js/NextAuth.js that allows seamless connectivity to any database service using Knex.js. In this article, I delve into the necessary steps before installation...1 like·700 readsOpen Source
Joel Ndohndohjoel.hashnode.dev·Jan 22, 2023How To Hash Password with PostgreSQL Function in NodejsIntroduction Storing user passwords in plain text is a major security vulnerability. In order to protect user data, it is important to hash passwords before storing them in a database. In this tutorial, we will be discussing how to hash passwords wit...30 readsPostgreSQL