J.D

drive store
Basic cloud store using Next.js and UploadThing.
https://drive-store-nine.vercel.app/
TypeScriptJavaScriptCSS

Drive-Store

A Google Drive clone built with Next.js, featuring folder navigation and file browsing. Following a tutorial by Theo.

Features

Technologies

How to Run

pnpm install
pnpm dev

Environment variables (see .env.example):

Scripts:

Project Structure

drive-store/
├── src/
│   ├── app/
│   │   ├── page.tsx                 - Root redirect to /f/1
│   │   ├── layout.tsx               - Root layout
│   │   ├── drive-contents.tsx       - File/folder listing component
│   │   ├── file-row.tsx             - File/folder row components
│   │   └── f/[folderId]/page.tsx    - Dynamic folder route
│   ├── components/ui/
│   │   └── button.tsx               - UI button component
│   ├── lib/
│   │   ├── utils.ts                 - Utility functions
│   │   └── mock-data.ts            - Sample data for development
│   ├── server/db/
│   │   ├── index.ts                 - Database connection
│   │   ├── schema.ts               - Files and folders tables
│   │   └── queries.ts              - Database queries
│   └── env.js                       - Environment validation
├── drizzle.config.ts
├── next.config.js
└── package.json