๐ Introduction
SWS (Sunain Web Services) is a cloud-based platform that empowers users to manage files, launch virtual machine instances, and track storage usage through an elegant dashboard. Inspired by AWS, it simplifies cloud control into an intuitive, personal-scale platform.
๐ Features
- Phase 1: User Authentication (Register, Login, Logout)
- The core backend foundation of MiniCloud is ready.
- Users can register, login, logout, and delete accounts securely.
- The system is fully connected to MongoDB Compass for live data management.
- All endpoints tested and verified via Postman.
- Phase 2: File Management (Upload, View, Download, Delete, Storage Limit)
Enable users to:
- Upload files (PDFs, images, etc.)
- Retrieve (download) files
- Store file info (filename, user, date) in MongoDB
- Phase 3: Virtual Machine Instance (Per-user instance creation)
You now have your own **Mini EC2 System** that:
- Creates โinstancesโ (stored in MongoDB)
- Manages their running/stopped state
- Lists & deletes them
- Phase 4: Dashboard (User greeting, file details, storage usage, instance overview)
- Open directly in the browser.
- Personalized welcome message.
- View uploaded files with details (name, date, size).
- Register โ Login โ Manage files and instances.
๐ง Tech Stack
๐๏ธ Architecture Overview
The system follows a client-server architecture where the React frontend communicates with an Express.js backend. All user data and file metadata are stored securely in MongoDB Atlas. Virtual machine management and file operations occur through RESTful APIs.
๐ป How to Run Locally
# Clone the repository
git clone <repo_url>
# Setup frontend
cd frontend
npm install
npm start
# Setup backend
cd ../backend
npm install
npm run dev
Then open http://localhost:3000 in your browser.
๐ Deployment
- Backend: Render
- Frontend: Vercel / Netlify
- Database: MongoDB Atlas
๐ฎ Future Scope
- AI-powered resource management
- Multiple instance types and configurations
- Team-based access and collaboration
- Detailed billing and analytics dashboard