LogoDocMoc

Tech Stack

Tech Stack used in Sabnam AI

Core

  • Next.js (TypeScript)
  • Prisma (ORM)
  • TailwindCSS (UI)
  • Shadcn UI (Components)

Why Next.js?

  • It's full stack framework, we don't need to write backend & frontend separately.
  • It supports SSR, CSR, and Static Site Generation. Which is good for SEO.
  • I've seen many successful startups and open-source projects built with Next.js, so it's exciting to explore it.

Why TypeScript?

FeaturesTSJS
Static Type Checking
Type Inference
Interfaces & Type Aliases
Compile-time Error
IDE Autocompletion⚠️ Limited

What JS can't do

index.ts
interface IUser {
  name: string;
}
 
const user: IUser = {
  name: "kys",
};
 
function getUsername(user: IUser) {
  // After pressing [dot], we will get all properties of the user, i.e., name
  return user.name;
}

Learn Typescript here.

Pre-requisites

You should know JavaScript first,

On this page