A simple note-taking and file sharing application built with Node.js, Express, and MongoDB Atlas.
- User-based note management and file sharing
- Real-time note saving and editing
- File upload support (up to 10MB)
- PDF documents
- Microsoft Word documents (.doc, .docx)
- PowerPoint presentations (.ppt, .pptx)
- Images (jpg, png)
- Text files
- File management (download, delete)
- Simple and modern UI
- No account required - just use an access code
- Node.js (v14 or higher)
- MongoDB Atlas account
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/VishwaVikas2006/WindPad.git
cd globalpad- Install dependencies:
npm install- Create a
.envfile in the root directory with your MongoDB connection string:
MONGODB_URI=mongodb+srv://vishwavikas4444:Vishwa@cluster0.lrhrsuf.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
PORT=3000
- Start the server:
npm startFor development with auto-reload:
npm run dev- Open your browser and navigate to
http://localhost:3000
- Enter an access code to start using GlobalPad
- Write and save notes in the text editor
- Upload files (max 10MB) using the upload button
- View, download, or delete your files from the list
- Use Save & Close or Close to return to the home page
- Use the same access code to access your notes and files later
POST /api/note- Save a noteGET /api/notes/user/:userId- Get notes for a userPOST /api/upload- Upload a fileGET /api/files/user/:userId- Get all files for a userGET /api/download/:fileId- Download a fileDELETE /api/delete/:fileId- Delete a file
MIT