|
Download README.md from Adarshddata/WebDev-Dataset: direct link, hf CLI and curl.
- Browser
- Download file 11 kB
-
https://huggingface.co/datasets/Adarshddata/WebDev-Dataset/resolve/main/README.md
- Command line
-
hf download hf://datasets/Adarshddata/WebDev-Dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Adarshddata/WebDev-Dataset/resolve/main/README.md
11 kB
metadata
license: mit
task_categories:
- text-generation
language:
- en
tags:
- code
- web-development
- full-stack
- python
- flask
- fastapi
- sqlite
- html
- css
- javascript
- instruction-tuning
- llm-finetuning
pretty_name: Full-Stack WebDev Multi-File Dataset (100 Apps)
size_categories:
- n<1K
WebDev-Dataset: 100 Full-Stack Web Apps for LLM Fine-Tuning
A fine-tuning dataset of 100 complete, working, multi-file full-stack web applications.
Each sample contains a full project — backend routes, database schema, HTML frontend, CSS styling, and JavaScript — all in a single training example. This teaches a model to generate a whole working project, not just isolated snippets.
Dataset Overview
- Total Samples: 100 unique full-stack web applications
- File:
dataset.json(~462 KB) - Format: Alpaca JSON (
instruction/input/output) - Code: Every sample is fully runnable with no placeholders or skipped logic
Format
[
{
"instruction": "Build a full-stack ... web app using Flask and SQLite ...",
"input": "",
"output": "<!-- FILE: database.py -->\n...\n<!-- FILE: app.py -->\n...\n<!-- FILE: templates/index.html -->\n...\n<!-- FILE: static/style.css -->\n...\n<!-- FILE: static/script.js -->\n..."
}
]
Fields
| Field | Type | Description |
|---|---|---|
instruction |
string |
The prompt describing what app to build, the tech stack, and file structure |
input |
string |
Always empty "" |
output |
string |
The complete multi-file source code |
File Delimiter
Files inside the output are separated by:
<!-- FILE: path/to/file.ext -->
[source code]
<!-- FILE: path/to/another_file.ext -->
[source code]
Tech Stack
Each app has 4-5 files:
├── database.py # SQLite connection and table setup
├── app.py / main.py # Flask or FastAPI routes
├── templates/
│ └── index.html # HTML frontend
└── static/
├── style.css # CSS styling
└── script.js # JavaScript (Fetch API)
- Backend: Python - Flask or FastAPI
- Database: SQLite3
- Frontend: HTML5, Vanilla CSS, Vanilla JavaScript (ES6+ async/await)
App Catalog (100 Apps)
Batch 1: Productivity, Project Management & Habits (Apps 01-10)
- Inventory & Order Management (Flask + SQLite)
- Kanban Task Board (FastAPI + SQLite)
- Markdown Note Taker with Tags (Flask + SQLite)
- Personal Budget & Expense Tracker (Flask + SQLite)
- Recipe Box & Weekly Meal Planner (FastAPI + SQLite)
- Habit Tracker & Daily Streaks (Flask + SQLite)
- Mini CRM & Sales Pipeline (FastAPI + SQLite)
- Appointment & Booking Scheduler (Flask + SQLite)
- Help Desk & IT Support Tickets (Flask + SQLite)
- Community Polling & Voting (FastAPI + SQLite)
Batch 2: Education, Fitness & E-Commerce (Apps 11-20)
- Flashcard Study System (Flask + SQLite)
- Job Application Tracker (Flask + SQLite)
- URL Shortener & Click Analytics (FastAPI + SQLite)
- Fitness Workout Log & PR Tracker (Flask + SQLite)
- E-Commerce Product Catalog & Cart (Flask + SQLite)
- Community Discussion Forum (Flask + SQLite)
- Live Event Q&A Dashboard (FastAPI + SQLite)
- Digital Bookmark & Link Archiver (Flask + SQLite)
- Student Gradebook & GPA Calculator (Flask + SQLite)
- Project Time Tracking & Timesheets (FastAPI + SQLite)
Batch 3: Real Estate, Media & Dev Tools (Apps 21-30)
- Real Estate Property Listings (Flask + SQLite)
- Library Book Checkout System (Flask + SQLite)
- Simple Blog with Comments (Flask + SQLite)
- Weather & Air Quality Station (Flask + SQLite)
- User Authentication & Session Portal (Flask + SQLite)
- Password Vault & Secret Stash (FastAPI + SQLite)
- Movie & Series Watchlist (Flask + SQLite)
- Employee Directory & Teams (Flask + SQLite)
- Cloud Asset & File Metadata Catalog (FastAPI + SQLite)
- Code Snippet Pastebin (Flask + SQLite)
Batch 4: Freelance, Dining & Community (Apps 31-40)
- Freelance Project Milestone & Invoice Tracker (Flask + SQLite)
- Restaurant Table Reservation & Menu (FastAPI + SQLite)
- Podcast Episode Tracker (Flask + SQLite)
- Vehicle Maintenance & Fuel Mileage Log (Flask + SQLite)
- Daily Journal & Mood Tracker (Flask + SQLite)
- SaaS Feature Request & Upvote Board (FastAPI + SQLite)
- Classroom Quiz Maker & Tester (Flask + SQLite)
- Hotel Room Reservation Engine (Flask + SQLite)
- Donation & Fundraising Campaign Tracker (FastAPI + SQLite)
- Pet Adoption & Shelter Registry (Flask + SQLite)
Batch 5: Health, Commerce & Utilities (Apps 41-50)
- Vinyl & Music Collection Curator (Flask + SQLite)
- Pharmacy Prescription Reminder (FastAPI + SQLite)
- Conference Agenda & Speaker Schedule (Flask + SQLite)
- Newsletter Subscription & Audience Manager (Flask + SQLite)
- Warehouse Shipment & Logistics Tracking (FastAPI + SQLite)
- Smart Home Appliance Controller (Flask + SQLite)
- Travel Itinerary Planner & Packing Checklist (Flask + SQLite)
- Customer Feedback & NPS Survey (FastAPI + SQLite)
- Digital Contact & Business Card Rolodex (Flask + SQLite)
- Online Timed Auction & Bidding System (FastAPI + SQLite)
Batch 6: Memberships, Events & Dev Platforms (Apps 51-60)
- Gym Membership & Member Check-in Tracker (Flask + SQLite)
- Event Ticketing & RSVP Guest Manager (FastAPI + SQLite)
- Bug Bounty & Vulnerability Disclosure Log (Flask + SQLite)
- API Key & Webhook Developer Token Manager (FastAPI + SQLite)
- Freelance Gig & Services Marketplace Catalog (Flask + SQLite)
- Online Book Club & Reading Goal Shelf (Flask + SQLite)
- Community Equipment Rental & Tool Library (FastAPI + SQLite)
- Medical Clinic Patient Triage & Intake Portal (Flask + SQLite)
- Crypto Asset Portfolio & Watchlist Tracker (FastAPI + SQLite)
- Artisanal Coffee Shop Barista Order Queue (Flask + SQLite)
Batch 7: Operations, Culture & Environment (Apps 61-70)
- SaaS Software License & Renewal Spend Tracker (FastAPI + SQLite)
- Art Gallery Exhibition & Contemporary Showcase (Flask + SQLite)
- Employee Shift & Weekly Roster Scheduler (FastAPI + SQLite)
- E-Commerce RMA Product Returns Desk (Flask + SQLite)
- Podcast Sponsorship & Audio Ad Campaign Pipeline (Flask + SQLite)
- Language Learning Vocabulary Builder & Flash Quiz (FastAPI + SQLite)
- Indoor Plant & Garden Care Watering Log (Flask + SQLite)
- Infrastructure Ping & Health Monitor (FastAPI + SQLite)
- Car Rental Fleet & Reservation Engine (Flask + SQLite)
- Crowdfunding Backer & Tiered Campaign Tracker (Flask + SQLite)
Batch 8: Community, Property & Hobbies (Apps 71-80)
- Alumni Network Directory & Mentorship Hub (Flask + SQLite)
- Home Renovation & Contractor Expense Log (FastAPI + SQLite)
- Community Food Pantry & Donation Inventory (Flask + SQLite)
- Scientific Paper Reference & Citation Library (Flask + SQLite)
- Conference Booth Badge Scanner & Lead Capture (FastAPI + SQLite)
- Apartment Tenant Repair Maintenance Request Portal (Flask + SQLite)
- Video Game Backlog & Achievement QuestLog (Flask + SQLite)
- Dog Daycare & Pet Boarding Reservation (FastAPI + SQLite)
- Recipe Macro & Nutritional Calorie Calculator (Flask + SQLite)
- Micro-SaaS Product Launch Waitlist & Referral Leaderboard (FastAPI + SQLite)
Batch 9: Logistics, Entertainment & Workflows (Apps 81-90)
- Music Festival Stage Lineup & Timetable Scheduler (Flask + SQLite)
- Warehouse Handheld SKU & Bin Location Locator (FastAPI + SQLite)
- Academic Course Syllabus & Homework Submission Portal (Flask + SQLite)
- Monthly Gourmet Subscription Box Preference Picker (Flask + SQLite)
- Veterinary Clinic Vaccine Record & Booster Log (FastAPI + SQLite)
- Coworking Space Hot-Desk Floorplan Booking (Flask + SQLite)
- Professional Photography Session Inquiry & Portfolio (Flask + SQLite)
- Print-On-Demand Order Fulfillment Status Queue (FastAPI + SQLite)
- Local Neighborhood Lost & Found Bulletin Board (Flask + SQLite)
- Corporate Employee Expense Reimbursement Approval (FastAPI + SQLite)
Batch 10: Specialities, Tools & Status (Apps 91-100)
- Antique & Art Appraisal Valuation Request Desk (Flask + SQLite)
- Sports League Tournament Bracket & Match Scores (FastAPI + SQLite)
- Enterprise IT Asset Laptop & Peripheral Checkout (Flask + SQLite)
- Reserve Wine Cellar Inventory & Tasting Notes (Flask + SQLite)
- Public SaaS System Status Page & Incident Broadcast (FastAPI + SQLite)
- Banquet Catering Menu & Headcount Planner (Flask + SQLite)
- Bicycle Repair Shop Work Order Workbench (FastAPI + SQLite)
- Residential Solar Panel Generation & Savings Monitor (Flask + SQLite)
- DesignProof Client Mockup Review & Annotation (FastAPI + SQLite)
- Self-Hosted Read-Later Queue & Bookmarklet Saver (Flask + SQLite)
Loading the Dataset
from datasets import load_dataset
dataset = load_dataset("json", data_files="dataset.json")
print(dataset["train"][0])
Fine-Tuning (Alpaca Format)
def format_prompt(example):
instructions = example["instruction"]
outputs = example["output"]
texts = []
for inst, out in zip(instructions, outputs):
text = f"### Instruction:\n{inst}\n\n### Response:\n{out}"
texts.append(text)
return {"text": texts}
formatted = dataset.map(format_prompt, batched=True)
Works directly with Unsloth, LLaMA-Factory, and any Alpaca-compatible trainer.
Extracting Generated Code to Files
import os, re, json
def extract_files(output_string, target_dir="./generated_app"):
pattern = r"<!-- FILE: (.*?) -->\n(.*?)(?=(?:<!-- FILE:|\Z))"
matches = re.findall(pattern, output_string, re.DOTALL)
for path, content in matches:
full_path = os.path.join(target_dir, path.strip())
os.makedirs(os.path.dirname(full_path), exist_ok=True)
with open(full_path, "w", encoding="utf-8") as f:
f.write(content.strip() + "\n")
print(f"Created: {full_path}")
with open("dataset.json", "r", encoding="utf-8") as f:
sample = json.load(f)[0]
extract_files(sample["output"], target_dir="./my_app")
License
MIT License - free to use, modify, and fine-tune on for any purpose.