Web2 vs Web3 Full-Stack Comparison

The key distinction between web2 and web3 development lies in data handling:

  • Reading: Data on the blockchain is public, requiring no special permissions for access.
  • Writing: Every write is a blockchain transaction. You must use a wallet to approve and sign the transaction.

Example

Web 2Web 3
UserIdentified by [email + password]Identified by [address + private key]
FrontendReact, Typescript, etc.Similar, but users need a wallet to approve transactions/write data.
Middle LayerRESTful APIs, GraphQL, etc.Aptos SDK
BackendNode.js, Python, etc.Smart Contracts written in Move
DatabaseMongoDB, MySQL, etc.Aptos Blockchain