Skip to content

A simplified version of Google Drive, created with Next.js, TypeScript, Convex, and Clerk. It aims to replicate the core features of Google Drive in a straightforward manner.

Notifications You must be signed in to change notification settings

nyintosh/drive-ce

Repository files navigation

DRIVE (CE)

SCR-20240703-khcm

Description

A simplified version of Google Drive, created with Next.js, TypeScript, Convex, and Clerk. It aims to replicate the core features of Google Drive in a straightforward manner.

Features

  • Authentication
  • Organizations
  • File Upload
  • Role Based Authorization
  • Trash Functionality

Table of Contents

Tech Stack

  • Next.js
  • Tailwind CSS
  • TypeScript
  • Clerk
  • Convex

Installation

Make sure you have Node.js installed on your machine.

Clone the repository:

git version of https://github.com/nyintosh/drive-ce.git

Navigate to the project directory:

cd drive-ce

Install dependencies: Run one of the following commands based on your preferred package manager:

  • Using npm:
npm install
  • Using yarn:
yarn install
  • Using pnpm:
pnpm install

Important

To run this locally, ensure you have set up projects in Convex and Clerk, and configured webhooks accordingly.

Environment Variables

This project requires the following environment variables:

  • CONVEX_DEPLOYMENT
  • NEXT_PUBLIC_CONVEX_URL
  • NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
  • CLERK_SECRET_KEY

Make sure to set these environment variables in your development environment.

Additionally, you need to set these environment variables in Convex:

  • CLERK_HOSTNAME
  • CLERK_WEBHOOK_SECRET

Starting the Development Server

To start the development server: Run one of the following commands based on your preferred package manager:

  • Using npm:
npm run dev
  • Using yarn:
yarn dev
  • Using pnpm:
pnpm dev

Open your browser and navigate to http://localhost:3000 to see the app live.

Contributing

If you want to add additional features and improvements, we welcome contributions! Please follow these guidelines:

  • Fork the repository
  • Create a new branch
  • Make your changes
  • Submit a pull request

Live Preview

You can preview the live version of the project at https://drive-ce.vercel.app.

About

A simplified version of Google Drive, created with Next.js, TypeScript, Convex, and Clerk. It aims to replicate the core features of Google Drive in a straightforward manner.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published