Mohit Kapadiya
GithubContact
  • About Mohit
  • Skills & Experience
  • 🐍 Python
    • Python Basics
    • Advanced Python
    • Object-Oriented Python
    • Data Science & Machine Learning
    • Web Development
    • DevOps & Automation
    • Python Testing
    • Blockchain Development in Python
    • Networking and Security
    • AI & NLP in Python
    • TensorFlow
    • Web3.py
    • FastAPI
    • OpenCV
    • Python with Servers
    • Pandas
    • SciPy
    • Django
    • Matplotlib
    • Python with DBs
    • NumPy
  • Javascript
    • Basics
    • Advance Javascript
    • Object Oriented Javascript
    • Design Patterns in JS
    • Frameworks & Libraries
    • Blockchain Development in JS
    • Web Frontend in JS
    • Performance Optimization
    • JavaScript Testing
    • Backend in JS
    • JavaScript Security
    • Modern Development (Tooling)
    • JS vs JQuery
    • JS Graphics
    • JS JSON
    • JS AJAX
    • JS with Servers
  • Solidity
    • Dapp Contracts
    • Gas Optimisation
    • Unit Testing
    • ERC 6551
    • ERC 4337
    • EOF
    • Staking Contracts
    • Swap Contracts
    • ERC 20, 721, 1155
  • Frontend
    • FastAPI
    • Web3.py
    • Django
    • Three.js
    • Web3.js
    • Flask
    • Magic-UI
    • Accernety-UI
    • Material-UI
    • ThreeJS
    • AngularJS
    • NextJS
    • Tailwind CSS & Shadcn & Chart JS
    • ReactJS
    • HTML & CSS
  • Backend
    • TensorFlow.js
    • Socket.io
    • Firebase SDK
    • C, C++ & C#
    • Laravel
    • Django & Python
    • NodeJS & ExpressJS
  • Database
    • MongoDB & Mongoose
    • PosgresSQL
    • Vector
    • MySQL
    • Multi DBs Inter-Connections
    • Encryption in DBs
  • Blockchains
    • Avalnche
    • Sui
    • Tron Chain
    • TON
    • Phantom
    • Degen
    • Coti
    • Conflux
    • IOTA
    • Stacks Chain
    • Kaspa
    • BlockDAG
    • ZkSync
    • Polkadot
    • Hyper Ledger
    • Sui
    • Solana
    • Bitcoin
    • XRP Ledger
    • Cardano
    • Quranium
    • Ethereum
    • Solana
    • Arbitrum One & Nova
    • Binance Smart Chain
    • Polygon & Zero Knowledge Proof
  • White Paper Understanding
    • Polkadot
    • Hyper Ledger
    • Sui
    • Solana
    • Bitcoin
    • XRP Ledger
    • Cardano
    • Quranium
    • Ethereum
    • Solana
    • Arbitrum One & Nova
    • Binance Smart Chain
    • Polygon & Zero Knowledge Proof
  • SDKs & API Providers
    • Software Developer Kits (SDKs)
      • Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
    • API Providers
      • Alchemy
      • Infura
      • Moralis
      • Thirdweb
  • Server & Domains
    • Azure
    • Render
    • Heroku
    • Vercel
    • Google Cloud
    • AWS (Amazon Web Service)
    • Domain Name Service Providers
      • Godaddy
      • Copy of Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
    • DevOps
      • Ansible
      • Paramiko
      • Fabric
      • Thirdweb
  • Security Standards
    • Developer Kits
      • Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
    • API Providers
      • Alchemy
      • Infura
      • Moralis
      • Thirdweb
  • Quantum Computer
    • Developer Kits
      • Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
    • API Providers
      • Alchemy
      • Infura
      • Moralis
      • Thirdweb
  • AI, ML & NLP
    • AI & NLP
      • NLTK
      • SpaCy
      • GPT-3
    • ML & Data Science
      • Scikit-learn
      • TensorFlow
      • Keras
      • PyTorch
      • NumPy
      • Panda
      • Seaborn
      • Matplotlib
  • Hardware Wallets & Nodes
    • Developer Kits
      • Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
    • API Providers
      • Alchemy
      • Infura
      • Moralis
      • Thirdweb
  • Protocols
    • ERCs & EIPs
      • ERC 7702
      • ERC 4337
      • ERC 6551
      • ERC 721 & 1155
      • ERC 7560
    • Web 2.0 Protocols
      • ERC 7702
      • ERC 4337
      • ERC 6551
      • ERC 721 & 1155
      • ERC 7560
    • Web 3.0 Protocols
      • Infura
      • Moralis
      • Thirdweb
    • DEX, AMM, LPs
      • Ox Protocol
      • BullX
      • Cow Swap
      • MEVX
      • Photon
      • OKX
      • Pumpfun
      • Uniswap
      • Kyberswap
      • 1 Inch
      • Paraswap
      • Jupiter
      • Moonshot
      • GMGN
    • Cross-chain Swaps
      • Developer Kits
        • Zerodev
        • Safe Wallet SDKs
        • Web3 Auth SDKs
        • Pimlico
      • API Providers
        • Alchemy
        • Infura
        • Moralis
        • Thirdweb
    • Decentralised Wallets
      • Developer Kits
        • Zerodev
        • Safe Wallet SDKs
        • Web3 Auth SDKs
        • Pimlico
      • API Providers
        • Alchemy
        • Infura
        • Moralis
        • Thirdweb
      • Overview of wallets
    • Centralised Wallets
      • Developer Kits
        • Zerodev
        • Safe Wallet SDKs
        • Web3 Auth SDKs
        • Pimlico
      • API Providers
        • Alchemy
        • Infura
        • Moralis
        • Thirdweb
    • Trading On Chain Bots
      • Shuriken Bot
      • Magnum
      • Trojan
      • GMGN
      • Wave Bot
  • System Design
    • 🔀 Horizontal vs. Vertical Scaling
    • 📚Distributed Systems
    • 💾 Microservices
    • 🔒Hashing, Signatures, and Encryption in Microservices
  • Algorithms & Cryptography
    • MPC
      • Gap-Diffie-Hellman (GDH)
    • Sphinics+
    • Falcon Signature Scheme
    • ECC vs SLH DSA
    • Zero Knoledge Proof
    • Public - Private Key Cryptography
    • Hashing Algorithms
      • SHA 256
      • ERC 4337
      • ERC 6551
      • ERC 721 & 1155
      • ERC 7560
    • Signature Validation Algorithms
      • Threshold Signature Scheme(TSS)
      • RSA
      • ECDSA
      • EdDSA
      • SLHDSA (Sphinics+)
      • ECC
    • Encryption Algorithms
      • Alchemy
      • Infura
      • Moralis
      • Thirdweb
  • Portfolio
    • Web 3.0 Projects
      • Frogpay
      • Tanthetaa
      • BLOK Capital
      • Quranium Blockchain
      • Promind
      • Pragmatic Play API Casino Game
    • Web 2.0 Projects
      • Alchemy
      • Infura
      • Moralis
      • Thirdweb
  • Code Testing Toolkits
    • Foundry
    • Hardhat
    • Bouncy Castle
      • Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
  • Tech Automation Approach
    • CI/CD
    • Hardhat
    • Bouncy Castle
      • Zerodev
      • Safe Wallet SDKs
      • Web3 Auth SDKs
      • Pimlico
  • Articles
    • Medium Articles
    • EOF New Solidity Smart Contract Format
  • PUBLICATIONS & RESEARCH PAPERS
    • Papers
    • Talks
    • Patents
    • Standards
  • My Adventure Travels
    • Tokyo for EDCON'24 (Eth Speaker)
    • Kovilpatty for Quantum secure Blockchain
    • Medium Articles
    • EOF New Solidity Smart Contract Format
  • My Book Reading Summaries
    • Experiments Of Truth
    • Kai Chand the sar-e-aasman
    • Fountainhead
    • Medium Articles
    • EOF New Solidity Smart Contract Format
  • 📞 CONTACT
Powered by GitBook
On this page

Was this helpful?

  1. Frontend

NextJS

Here’s a detailed breakdown of my Next.js skills, including features, tools, and code snippets to highlight how I have used Next.js to build effective front-end applications.

Overview: Next.js is a powerful React framework that enables server-side rendering, static site generation, and dynamic routing, enhancing performance and SEO capabilities. Here’s an in-depth look at my skills and experience with Next.js

Key Features and Skills

  • Server-Side Rendering (SSR): Utilized SSR to pre-render pages on the server, improving initial load times and SEO.

import React from 'react';

const HomePage = ({ data }) => (
  <div>
    <h1>Welcome to Next.js!</h1>
    <p>{data.message}</p>
  </div>
);

export async function getServerSideProps() {
  // Fetch data from an API or database
  const res = await fetch('https://api.example.com/data');
  const data = await res.json();

  return {
    props: { data },
  };
}

export default HomePage;
  • Static Site Generation (SSG): Used SSG to generate static pages at build time, which improves page load performance and reduces server load.

import React from 'react';

const Post = ({ post }) => (
  <div>
    <h1>{post.title}</h1>
    <p>{post.content}</p>
  </div>
);

export async function getStaticPaths() {
  // Fetch paths from an API or database
  const res = await fetch('https://api.example.com/posts');
  const posts = await res.json();

  const paths = posts.map(post => ({
    params: { id: post.id.toString() },
  }));

  return { paths, fallback: false };
}

export async function getStaticProps({ params }) {
  // Fetch data for a specific post
  const res = await fetch(`https://api.example.com/posts/${params.id}`);
  const post = await res.json();

  return {
    props: { post },
  };
}

export default Post;
  • Dynamic Routing: Implemented dynamic routing for creating dynamic pages based on URL parameters.

import React from 'react';

const ProductPage = ({ product }) => (
  <div>
    <h1>{product.name}</h1>
    <p>{product.description}</p>
  </div>
);

export async function getStaticPaths() {
  // Fetch product IDs
  const res = await fetch('https://api.example.com/products');
  const products = await res.json();

  const paths = products.map(product => ({
    params: { id: product.id.toString() },
  }));

  return { paths, fallback: false };
}

export async function getStaticProps({ params }) {
  // Fetch product details
  const res = await fetch(`https://api.example.com/products/${params.id}`);
  const product = await res.json();

  return {
    props: { product },
  };
}

export default ProductPage;
  • API Routes: Created API routes within the Next.js application to handle server-side logic and data fetching.

import Image from 'next/image';

const Avatar = ({ src, alt }) => (
  <div>
    <Image src={src} alt={alt} width={100} height={100} />
  </div>
);

export default Avatar;
  • Internationalization (i18n): Implemented internationalization to support multiple languages in the application.

module.exports = {
  i18n: {
    locales: ['en', 'fr'],
    defaultLocale: 'en',
  },
};
  • CSS Modules and Styled Components: Used CSS Modules and Styled Components for modular and scoped styling.

// Example: styles/Home.module.css
.container {
  padding: 20px;
  background-color: #f0f0f0;
}

// Example: pages/index.js
import styles from '../styles/Home.module.css';

const HomePage = () => (
  <div className={styles.container}>
    <h1>Hello, Next.js!</h1>
  </div>
);

export default HomePage;

Tools and Libraries

  • Vercel: Deployed Next.js applications with seamless integration and automatic optimizations.

  • Tailwind CSS: Utilized Tailwind CSS for utility-first styling and rapid UI development.

  • TypeScript: Integrated TypeScript for type safety and improved developer experience.

  • Redux / Zustand: Managed global state effectively using Redux or Zustand for scalable state management.

  • Jest / React Testing Library: Employed Jest and React Testing Library for unit and integration testing.

PreviousAngularJSNextTailwind CSS & Shadcn & Chart JS

Last updated 10 months ago

Was this helpful?