---
title: "Ayush Kumar (@krayush1109) | Hashnode"
description: "MERN Stack Developer. Read the latest articles by Ayush Kumar on Hashnode."
url: "https://hashnode.com/@krayush1109"
---

@krayush1109

# Ayush Kumar

@krayush1109 · Bhopal · Joined November 2023

MERN Stack Developer

[Website](https://linktr.ee/krayush1109)

### [Vitest : (A Vite-native testing framework)](https://namaste-react.hashnode.dev/vitest-a-vite-native-testing-framework?utm_source=hashnode&utm_medium=feed)

1\. Vitest Scripts in package.json "scripts": { // This script runs Vitest to execute the test suite "test": "vitest", // This script runs Vitest with an additional flag --coverage // The --coverage flag generates a test coverage repo...

1 min read · [namaste-react.hashnode.dev](https://namaste-react.hashnode.dev/vitest-a-vite-native-testing-framework?utm_source=hashnode&utm_medium=feed)

[Oct 22, 2024](https://hashnode.com/posts/vitest-a-vite-native-testing-framework/671769446aec224ffd985057)

### [🧪Testing Library 🦑 - JEST](https://namaste-react.hashnode.dev/testing-library-jest?utm_source=hashnode&utm_medium=feed)

1\. Types of testing (developer) : Unit Testing : Testing One Component in Isolation || means seperately Integration Testing : Testing Integration of Components End to End Testing (or) e2e Testing : End-to-end testing verifies that all components...

3 min read · [namaste-react.hashnode.dev](https://namaste-react.hashnode.dev/testing-library-jest?utm_source=hashnode&utm_medium=feed)

[Oct 7, 2024](https://hashnode.com/posts/testing-library-jest/6703a23c91ce2a7c33ee07a7)

### [Higher Order Component (HOC) - promoted tag](https://namaste-react.hashnode.dev/higher-order-component-hoc-promoted-tag?utm_source=hashnode&utm_medium=feed)

🚀 Higher Order Components input is component and output is (modified) component // FileName: 📂Restaurant Card const RestaurantCard = ({ data }) => { .... .... } export const withPromotedLabel = (RestaurantCard) => { return (props) => { ...

1 min read · [namaste-react.hashnode.dev](https://namaste-react.hashnode.dev/higher-order-component-hoc-promoted-tag?utm_source=hashnode&utm_medium=feed)

[Sep 22, 2024](https://hashnode.com/posts/higher-order-component-hoc-promoted-tag/66f03021e88beefc347c9e00)

### [Animation: GSAP, srollTrigger, Locomotive,](https://namaste-react.hashnode.dev/animation-gsap-srolltrigger-locomotive?utm_source=hashnode&utm_medium=feed)

GSAP,ScrollTrigger GitHub link (04 onwards) Sarthak Bhaiya- GSAP, ScrollTrigger (gsap folder)

1 min read · [namaste-react.hashnode.dev](https://namaste-react.hashnode.dev/animation-gsap-srolltrigger-locomotive?utm_source=hashnode&utm_medium=feed)

[Sep 1, 2024](https://hashnode.com/posts/animation-gsap-srolltrigger-locomotive/66d438b726641c860cf304a9)

### [Passport.js : Authentication - Local Strategy](https://krayush1109.hashnode.dev/passportjs-authentication-local-strategy?utm_source=hashnode&utm_medium=feed)

1.Folder Structure project-root/ │ ├── config/ # Configuration files │ ├── db-connection.js # Database connection setup │ ├── passport-config.js # Passport.js configuration │ ├── session-config.js # Session configurati...

6 min read · [krayush1109.hashnode.dev](https://krayush1109.hashnode.dev/passportjs-authentication-local-strategy?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/passportjs-authentication-local-strategy/66be2dc7b20fe5e2e7734a1d) [Aug 15, 2024](https://hashnode.com/posts/passportjs-authentication-local-strategy/66be2dc7b20fe5e2e7734a1d)
