This is a minimal working skeleton for the Component Reusability project:
- Backend: Node + Express (port 5000)
- Frontend: React + Vite (dev server, default port 5173)
Quick start:
- Open two terminal tabs.
- Backend:
- cd backend
- npm install
- npm run dev
- Frontend:
- cd frontend
- npm install
- npm run dev
- Open the frontend URL shown by Vite (usually http://localhost:5173)
Notes:
- The backend uses a simple JSON file (data/components.json) as the "database".
- Recycling centers endpoint returns dummy data. Replace with Google Maps/Places API in future if you have an API key.
- Add icons, images, and further polish for the hackathon presentation.