How moazamdev/hemocell works
Project type and purpose
• From the file tree and README, HemoCell is a full-stack web application for managing blood donations, requests, and drives.
• The front end is a ReactJS single-page app (built with Vite and styled by Tailwind CSS). The back end (not shown in this tree but described in README) is a Node.js/Express REST API that persists data in a MySQL database.
File structure
• Top-level files:
• index.html, src/, public/ → React SPA assets and entry points
• vite.config.js, tailwind.config.js, postcss.config.js → build & styling configs
• package.json / package-lock.json → npm dependencies and scripts
• vercel.json → deployment target (Vercel)
• Under src/:
• main.jsx / App.jsx / App.css → application bootstrap
• assets/, components/ (layouts, pages, sections, sidebar, utility-functions), views/ → React component hierarchy
• No server folder is present here; assume a parallel /server directory housing Node.js/Express routes, controllers, models.
README
• Tech stack: ReactJS, Node.js, MySQL, Tailwind CSS
• Features: blood donation, requests, drive hosting, monetary donations
• Admin dashboard exposed at /dashboard for user/analytics management