Skip to content

t3dotgg/drive-tutorial

Repository files navigation

Drive Tutorial

TODO

  • Set up database and data model
  • Move folder open state to URL
  • Add auth
  • Add file uploading
  • Add analytics
  • Make sure sort order is consistent
  • Add delete
  • Real homepage + onboarding

Fun follow ups

Folder deletions

Make sure you fetch all of the folders that have it as a parent, and their children too

Folder creations

Make a server action that takes a name and parentId, and creates a folder with that name and parentId (don't forget to set the ownerId).

Access control

Check if user is owner before showing the folder page.

Make a "file view" page

You get the idea. Maybe check out my last tutorial?

Toasts!

Gray out a row while it's being deleted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published