widewipe.meHow to set up NvChad on Linux (Ubuntu for me)NvChad is a set of configurations for Neovim, a command-line based text editor. Neovim is the latest version of Vim, which uses Lua, which is easy to understand and configure. Install Neovim First of all, open your terminal and type the two following...Feb 21, 2024·3 min read
widewipe.meStatics and Methods in MongooseBefore we start, let us first create a basic User model using Mongoose. const mongoose = require("mongoose"); const userSchema = mongoose.Schema({ email: { required: true, type: String }, password: { re...Nov 6, 2023·3 min read
widewipe.meHooks in MongoDB and How to Use ThemDid you know that you can use hooks in MongoDB? Or were you also surprised after reading the title of this blog, like I was when I found out about this? Read along. Well, the hooks are not exactly in MongoDB, but they are actually middleware function...Oct 28, 2023·3 min read