DiscordStorage is a web application that allows users to manage files and folders using a Discord server as the backend storage. It provides a user-friendly interface to upload, download, and manage files and folders.
- Create, rename, and delete folders
- Upload and download files
- View file previews
- Real-time progress updates for uploads and downloads
- Dark mode support
- Node.js
- Express
- TypeScript
- Discord.js
- Multer
- WebSocket
- Swagger
- React
- TypeScript
- Vite
- Shadcn UI
- React Query
- Node.js
- npm or yarn
- Discord bot token
- Discord server ID
-
Clone the repository:
git clone https://github.com/Shafin-A/DiscordStorage.git cd DiscordStorage -
Install dependencies for both backend and frontend:
cd backend npm install cd ../frontend npm install
-
Create a .env file in the backend directory with the following content:
DISCORD_TOKEN=your_discord_bot_token GUILD_ID=your_discord_server_id PORT=3000
-
Start the backend server:
cd backend npm run dev -
Start the frontend development server:
cd frontend npm run dev -
Open your browser and navigate to
http://localhost:5173to access the application.
The API documentation is available at http://localhost:3000/docs after starting the backend server.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.