StarShop is an innovative platform designed to empower small businesses and entrepreneurs by providing an easy-to-use marketplace infused with blockchain technology. The platform fosters transparency and trust by utilizing Non-Fungible Tokens (NFTs) to create unique digital experiences for customers and businesses alike.
src/
โโโ app/ # Next.js App Router (routes, layouts, pages)
โ โโโ layout.tsx
โ โโโ page.tsx
โ โโโ not-found.tsx
โ โโโ buyer/ # Buyer routes
โ โโโ seller/ # Seller routes
โ
โโโ features/ # Business domain modules
โ โโโ buyer/ # Buyer logic (faq, profile, cart, ...)
โ โ โโโ faq/
โ โ โ โโโ api/
โ โ โ โโโ components/
โ โ โ โโโ hooks/
โ โ โ โโโ types/
โ โ โ โโโ index.ts
โ โ โโโ profile/
โ โ โโโ cart/
โ โ โโโ index.ts
โ โ
โ โโโ seller/ # Seller logic (products, orders, ...)
โ โ โโโ products/
โ โ โ โโโ api/
โ โ โ โโโ components/
โ โ โ โโโ types/
โ โ โ โโโ ...
โ โ โโโ orders/
โ โ โโโ index.ts
โ
โโโ shared/ # Reusable elements
โ โโโ components/ # Global UI components (Navbar, Modal, etc.)
โ โ โโโ ui/ # Atoms, Molecules, Organisms
โ โ โโโ layout/
โ โโโ hooks/ # Reusable hooks (useAuth, useDebounce, ...)
โ โโโ utils/ # Pure utility functions
โ โโโ constants/ # App-wide constants
โ โโโ types/ # Global types
โ โโโ styles/ # Global styles (globals.css)
โ โโโ api/ # General reusable APIs (e.g. login)
โ
โโโ providers/ # Global context providers
โ โโโ ...
โ
โโโ i18n/ # Internationalization
โ โโโ i18n.ts
โ
โโโ lib/ # Non-UI business logic helpers
โ โโโ ...
โ
โโโ index.ts # Common exports entrypoint
โโโ types.d.ts # Global ambient types
- ๐ Easy Product Registration: Small businesses can quickly register and start selling their products.
- ๐ Blockchain Transparency: Builds trust through immutable and transparent blockchain transactions.
- ๐๏ธ NFTs for Purchases: Customers receive a unique NFT for every purchase, serving as a digital collectible tied to the store.
- ๐ Milestone NFTs for Businesses: Businesses earn milestone NFTs based on their sales achievements, showcasing their growth and success.
- ๐ค Celebrating Growth and Connection: Strengthens the relationship between businesses and customers through a marketplace that values trust, growth, and connection.
- โก Next.js (TypeScript)
- ๐จ TailwindCSS
- ๐งฉ ShadCn
- ๐ Lucide-React
- ๐ Zustand
- ๐ก Axios
- ๐ React Query
- Clone the repository:
git clone https://github.com/<your-username>/StarShop-Frontend.git cd StarShop-Frontend
- Install dependencies:
npm install
- Copy environment variables:
cp .env.example .env
- Start the development server:
npm run dev
If you encounter installation issues, try:
npm cache clean --forcerm -rf node_modulesrm package-lock.jsonnpm install- Or:
npm install --legacy-peer-deps
We welcome contributions to StarShop! Check out our Contributor's Guide to get started.
This repository is maintained by KevinLatino.