How bejistojoseph/minifacts works
Project type and purpose
• This is a single-page, front-end React + TypeScript website (“Minifacts”) delivered as static assets.
• Purpose: deliver mini facts, life-hacks, tech tips in a beautifully styled UI, built with Vite, Tailwind CSS, and shadcn/ui.
File structure
• Top-level: package.json, vite.config.ts, tsconfig*, postcss.config.js, tailwind.config.ts – build/config files for a static front-end.
• src/
• pages/ – route-mapped React pages (Index, Article, AboutUs, TechTips, etc.).
• components/ – reusable UI pieces, organized by feature (CategorySection, DiceRoller, TechTipCard) and a large ui/ subfolder for shadcn/ui primitives.
• data/ – techTipsData.ts (static content).
• hooks/ – custom React hooks (use-mobile, use-toast).
• lib/ – utility functions.
• main.tsx & index.html – Vite entrypoints.
• public/ – static assets (uploads, robots.txt).
README
• Confirms: Vite dev server, React+TS, Tailwind CSS, shadcn/ui, optional AI tooling for prototyping.
• No backend or external API integrations – all data is local.