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.
- Authentication
- Organizations
- File Upload
- Role Based Authorization
- Trash Functionality
- Tech Stack
- Installation
- Important
- Environment Variables
- Starting the Development Server
- Contributing
- Live Preview
- Next.js
- Tailwind CSS
- TypeScript
- Clerk
- Convex
Make sure you have Node.js installed on your machine.
Clone the repository:
git version of https://github.com/nyintosh/drive-ce.gitNavigate to the project directory:
cd drive-ceInstall dependencies: Run one of the following commands based on your preferred package manager:
- Using npm:
npm install- Using yarn:
yarn install- Using pnpm:
pnpm installTo run this locally, ensure you have set up projects in Convex and Clerk, and configured webhooks accordingly.
This project requires the following environment variables:
CONVEX_DEPLOYMENTNEXT_PUBLIC_CONVEX_URLNEXT_PUBLIC_CLERK_PUBLISHABLE_KEYCLERK_SECRET_KEY
Make sure to set these environment variables in your development environment.
Additionally, you need to set these environment variables in Convex:
CLERK_HOSTNAMECLERK_WEBHOOK_SECRET
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 devOpen your browser and navigate to http://localhost:3000 to see the app live.
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
You can preview the live version of the project at https://drive-ce.vercel.app.