Skip to content

Brainfogdev/hackthehazetheme2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

πŸ•ΈοΈ Hack The Haze – Fullstack Image Scraper Starter

Welcome to the official starter repository for Hack The Haze – Theme 2
🌐 Fullstack Web App to Scrape Images from URLs

Hosted by brainfogdev


πŸ“Œ Problem Statement

Create a fullstack web application that accepts one or multiple URLs from users, scrapes those web pages, and returns all the image links found.


βœ… Requirements

🎯 Frontend (React)

  • Input field to enter one or multiple URLs (comma-separated or multiline)
  • Display all image results in a responsive grid or layout
  • Handle:
    • Loading state
    • Error state
    • Empty/no images
  • Clean, simple UX

πŸ› οΈ Backend (Python or Node.js)

  • Accept URLs from the frontend
  • Scrape each web page
  • Return image links as JSON
  • Handle:
    • Invalid or unreachable URLs
    • Duplicate image filtering (optional)

πŸ“Š Optional Features

  • URL validation and normalization
  • Image caching
  • History storage using SQLite/PostgreSQL
  • Pagination or lazy-loading
  • User authentication

🧰 Preferred Stack

  • Frontend: React.js (JavaScript or TypeScript)
  • Backend:
    • Python (Flask or FastAPI) or
    • Node.js (Express)
  • Optional DB: SQLite / PostgreSQL
  • Optional Deployments:
    • Frontend: Vercel / Netlify
    • Backend: Render / Railway

πŸ“ Suggested Folder Structure


hackthehaze-fullstack-image-scraper/
β”œβ”€β”€ client/              # Frontend (React.js)
β”‚   β”œβ”€β”€ src/
β”‚   └── public/
β”œβ”€β”€ server/              # Backend (Node.js or Python)
β”‚   β”œβ”€β”€ routes/
β”‚   └── utils/
β”œβ”€β”€ README.md
└── THOUGHTS.md


🏁 Getting Started

1. Clone the Repo

git clone https://github.com/brainfogdev/hackthehaze-fullstack-image-scraper.git
cd hackthehaze-fullstack-image-scraper

2. Setup Frontend

cd client
npm install
npm start

3. Setup Backend (Choose One)

▢️ Node.js (Express)

cd server
npm install
npm run dev

🐍 Python (Flask/FastAPI)

cd server
pip install -r requirements.txt
uvicorn main:app --reload

πŸ“ Submission Guidelines

Ready to launch your scraper? Follow these steps to submit your project:


1️⃣ Fork This Repo

Click the Fork button to create your copy. Then clone and start building.


2️⃣ Build Your Solution

Finish the frontend + backend. Make it robust, clean, and beautiful.


3️⃣ Include the Following Files

πŸ“„ README.md

  • Project overview
  • Tech stack
  • Setup instructions
  • Screenshots or demo GIFs (recommended!)

🧠 THOUGHTS.md

  • Your approach & logic
  • Challenges and solutions
  • Improvements you'd add with more time

4️⃣ (Optional) Deploy Your Project

  • Deploy frontend (Vercel/Netlify)
  • Deploy backend (Render/Railway)
  • Paste the live links in your README

5️⃣ Submit on Unstop

Submit the following on the Unstop Hackathon Portal:

  • πŸ”— GitHub repository URL
  • πŸ”— Live deployed links (if available)

πŸ’‘ Tips to Win

  • Handle messy, real-world inputs cleanly
  • Scrape efficiently and responsibly
  • Design a beautiful frontend
  • Validate URLs and give great feedback to users
  • Impress us with extras like caching or DB history!

🀝 Need Help?

Stuck? Reach out to the organizing team or open an Issue.


πŸ† Build Smart. Scrape Clean. Stand Out.

This isn't just another CRUD app β€” it's your chance to build a useful, fullstack utility with real-world impact. Impress the judges and hack the haze! πŸ•ΈοΈβš‘πŸ–ΌοΈ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published