Skip to content

Instantly share code, notes, and snippets.

View singhAmandeep007's full-sized avatar
🎯
Focusing

Amandeep Singh singhAmandeep007

🎯
Focusing
View GitHub Profile
@poudyalanil
poudyalanil / videos.json
Last active October 23, 2025 16:37
Dummy Video API Data for Testing
[
{
"id": "1",
"title": "Big Buck Bunny",
"thumbnailUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Big_Buck_Bunny_thumbnail_vlc.png/1200px-Big_Buck_Bunny_thumbnail_vlc.png",
"duration": "8:18",
"uploadTime": "May 9, 2011",
"views": "24,969,123",
"author": "Vlc Media Player",
"videoUrl": "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
@justsml
justsml / fetch-api-examples.md
Last active May 25, 2026 06:14
JavaScript Fetch API Examples

Folder Structure

Please note

While this gist has been shared and followed for years, I regret not giving more background. It was originally a gist for the engineering org I was in, not a "general suggestion" for any React app.

Typically I avoid folders altogether. Heck, I even avoid new files. If I can build an app with one 2000 line file I will. New files and folders are a pain.