How tuanha203/madworld works
Project type and purpose
• This is a web-based NFT marketplace UI built with Next.js (React).
• It integrates with Ethereum-style blockchains (via JSON-RPC), IPFS, and third-party services (eg. Coingecko).
• It uses Redux for client state, Next.js pages for routing/SSR, and custom API endpoints under pages/api.
File structure
• Top level: configuration files (.env, Dockerfile, Makefile, buildspec.yml), devops scripts, docker-compose.
• src/pages/: Next.js page routes + minimal API (healthcheck).
• src/components/: React UI broken into common, layout, modules, templates, web3 provider.
• src/blockchain/: network connector, Ethers wrapper, IPFS helper, RPC utilities.
• src/service/, src/request/: service layer with Axios clients for REST/GraphQL, customAxios.
• src/store/: Redux actions, reducers, configureStore and redux-persist storage.
• src/hooks/, src/utils/: custom React hooks and utility functions.
• src/config/, src/constants/: app-wide configuration and constants.
• devops/: CI/CD and AWS CodeBuild buildspecs.
README for additional insights
• Confirms Next.js and React as core.
• No separate backend code aside from Next.js API route.
• Deployment via Docker and buildspec.yml for CodeBuild (AWS).