https://github.com/preethamb97/freedom
π Freedom - Secure encrypted data storage with AES-256-GCM encryption, Google OAuth, and zero-knowledge architecture. Built with React, Node.js, and Docker.
https://github.com/preethamb97/freedom
aes-256 antd cors data-protection data-security docker encryption end-to-end-encryption firebase-analytics google-oauth jwt mongodb nginx nodejs privacy pwa react secure-storage ssl zero-knowledge
Last synced: 10 months ago
JSON representation
π Freedom - Secure encrypted data storage with AES-256-GCM encryption, Google OAuth, and zero-knowledge architecture. Built with React, Node.js, and Docker.
- Host: GitHub
- URL: https://github.com/preethamb97/freedom
- Owner: preethamb97
- Created: 2025-06-08T20:25:29.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-06-08T21:24:53.000Z (10 months ago)
- Last Synced: 2025-06-08T21:28:26.074Z (10 months ago)
- Topics: aes-256, antd, cors, data-protection, data-security, docker, encryption, end-to-end-encryption, firebase-analytics, google-oauth, jwt, mongodb, nginx, nodejs, privacy, pwa, react, secure-storage, ssl, zero-knowledge
- Language: JavaScript
- Homepage: https://encryptedui.trackitall.in
- Size: 326 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# π΄ββ οΈ Freedom - Encrypted Data Storage
> *"I don't want to conquer anything. I just think the guy with the most freedom in this whole ocean... is the Pirate King!"* - Monkey D. Luffy
**Freedom** is an encrypted data storage application inspired by the spirit of adventure and freedom from One Piece! Just like Luffy's unwavering determination to protect his crew and their dreams, Freedom protects your most valuable data with unbreakable AES-256-GCM encryption.
[](https://encryptedui.trackitall.in/)
[](https://encryptedapi.trackitall.in/)
## π **The Grand Line of Features**
### π **Unbreakable Security**
- **AES-256-GCM Encryption** - Like Luffy's Haki, impenetrable protection
- **64-Character Encryption Keys** - Your treasure map that only you possess
- **Client-Side Encryption** - Your data never travels unprotected
- **Zero-Knowledge Architecture** - Even we can't see your secrets
### π **Devil Fruit Powers (Features)**
- **π₯ Real-time Analytics** with Firebase tracking
- **β‘ Lightning Fast** API with error recovery
- **π― SEO Optimized** for maximum visibility
- **π± Progressive Web App** - Works anywhere, anytime
- **π‘οΈ Security Headers** and HTTPS everywhere
- **π Auto-Recovery** from network issues
### π΄ββ οΈ **Crew Technologies**
- **Frontend**: React.js with Ant Design UI (Smooth as Luffy's Gear 5!)
- **Backend**: Bun.js with native HTTP server (Fast as Luffy's Gear 2!)
- **Database**: MongoDB Atlas (Vast as the Grand Line!)
- **Authentication**: Google OAuth 2.0 (Secure as Marine Headquarters!)
- **Deployment**: Docker containerization (Portable as the Thousand Sunny!)
## π¬ **Luffy's Adventure Loading Animation**
When you start the app, you'll be greeted with an epic Luffy animation that embodies the spirit of freedom and adventure - just like when Luffy sets sail for his next island!
```
π΄ββ οΈ Loading your Freedom...
β‘ Gear 5 Activated! β‘
π Setting sail to secure waters... π
```
## πΊοΈ **Quick Start - Join the Crew!**
### π’ **Simple Setup (Recommended)**
```bash
# Clone the treasure
git clone https://github.com/yourusername/encrypted-data-ui.git
cd encrypted-data-ui
# Run the setup script (works on all OS)
./setup.sh # Linux/macOS
# or
setup.bat # Windows
# Start your adventure
docker-compose up -d
```
### β **Manual Setup for Experienced Pirates**
```bash
# Install dependencies for both frontend and backend
npm install
# Set up environment variables
cp API/env.example API/.env
# Edit API/.env with your MongoDB Atlas URI and Google OAuth credentials
# Start the development servers
npm run dev:api # Backend on port 3001 (Bun.js)
npm run dev:webapp # Frontend on port 3000 (React)
```
## π **Environment Configuration**
Create your `.env` files like a true navigator:
### **API/.env**
```env
# MongoDB (Your treasure vault)
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/freedom_db
# Google OAuth (Your crew authentication)
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# JWT Security (Your Haki protection)
JWT_SECRET=your_ultra_secure_jwt_secret_64_characters_or_more_like_luffys_will
# API Configuration
NODE_ENV=production
PORT=3001
```
### **WEBAPP/.env**
```env
# API Connection (Your ship's communication)
REACT_APP_API_URL=https://encryptedapi.trackitall.in
# Google OAuth (Crew verification)
REACT_APP_GOOGLE_CLIENT_ID=your_google_client_id
# Firebase Analytics (Adventure tracking)
REACT_APP_FIREBASE_API_KEY=your_firebase_api_key
REACT_APP_FIREBASE_PROJECT_ID=your_firebase_project_id
```
## π΄ββ οΈ **How to Use Freedom**
### 1. **π Create Your Encryption**
```
Name: "My Secret Treasure"
Key: 64-character encryption key (auto-generated like a Devil Fruit power!)
```
### 2. **π Store Your Data**
```
Select your encryption β Enter your data β Encrypt & Store
Your data is now protected like the One Piece treasure!
```
### 3. **ποΈ View Your Data**
```
Select encryption β Enter your 64-character key β Decrypt & View
Access your secrets with the power of your encryption key!
```
## ποΈ **Project Structure**
```
encrypted-data-ui/
βββ π’ API/ # Backend crew (Bun.js)
β βββ src/
β β βββ controllers/ # Route handlers (like Nami's navigation)
β β βββ models/ # Data models (treasure maps)
β β βββ services/ # Business logic (battle strategies)
β β βββ utils/ # Helper functions (crew utilities)
β β βββ routes/ # API routes (ship routes)
β βββ Dockerfile
βββ π WEBAPP/ # Frontend crew (React)
β βββ src/
β β βββ atoms/ # Basic components (crew members)
β β βββ molecules/ # Combined components (attack combos)
β β βββ organisms/ # Complex components (ship systems)
β β βββ pages/ # Application pages (islands)
β β βββ services/ # API calls (messenger birds)
β β βββ hooks/ # React hooks (special abilities)
β βββ Dockerfile
βββ π³ docker-compose.yml # Ship deployment configuration
βββ βοΈ setup.sh # Automatic setup script
βββ π README.md # This adventure guide
```
## π₯ **Advanced Features**
### **π― Analytics & Monitoring**
- **Firebase Analytics** tracks user journeys like Luffy's adventure log
- **Error Boundaries** catch and handle crashes gracefully
- **Performance Monitoring** ensures smooth sailing
- **Security Event Tracking** monitors for threats
### **π‘οΈ Security Features**
- **Rate Limiting** prevents spam attacks
- **CORS Protection** secures cross-origin requests
- **Input Validation** sanitizes all data
- **Error Recovery** handles network failures
- **Secure Headers** protect against common attacks
### **β‘ Performance Optimizations**
- **Code Splitting** for faster loading
- **Lazy Loading** of components
- **Caching Strategies** for better performance
- **Compression** for smaller payloads
- **CDN Ready** for global distribution
## π **Development Commands**
```bash
# Start development (like setting sail!)
npm run dev
# Run tests (training with your crew)
npm test
# Build for production (preparing for the final battle)
npm run build
# Deploy with Docker (launching your ship)
docker-compose up -d
# Clean Docker (cleaning the ship)
./clean-docker.sh
# View logs (checking the ship's log)
docker-compose logs -f
```
> **Note**: The API service runs on Bun.js runtime for optimal performance, while the workspace management uses npm for compatibility.
## π΄ββ οΈ **Contributing to the Crew**
Want to join Luffy's crew and contribute to Freedom? Here's how:
1. **Fork the repository** (get your own ship)
2. **Create a feature branch** (`git checkout -b feature/amazing-feature`)
3. **Commit your changes** (`git commit -m 'Add some amazing feature'`)
4. **Push to the branch** (`git push origin feature/amazing-feature`)
5. **Open a Pull Request** (join the crew officially!)
## π **Deployment**
### **π³ Docker Deployment (Recommended)**
```bash
# Build and start all services
docker-compose up -d
# Check if everything is running
docker-compose ps
# View logs
docker-compose logs -f webapp
docker-compose logs -f api
```
### **π Production URLs**
- **Frontend**: https://encryptedui.trackitall.in/
- **API**: https://encryptedapi.trackitall.in/
- **Health Check**: https://encryptedapi.trackitall.in/api/health
## π **What Makes Freedom Special**
### **π Security First**
- **End-to-end encryption** - Your data is encrypted before it leaves your device
- **Zero-knowledge architecture** - We can't see your data even if we wanted to
- **Industry-standard encryption** - AES-256-GCM with unique keys
- **Secure authentication** - Google OAuth 2.0 integration
### **π¨ User Experience**
- **Beautiful UI** inspired by the freedom of the seas
- **Responsive design** works on all devices
- **Real-time feedback** with loading animations
- **Error recovery** that actually works
- **Intuitive navigation** like following a treasure map
### **β‘ Performance**
- **Lightning fast** API responses
- **Optimized React** components
- **Efficient caching** strategies
- **Progressive loading** for better UX
- **Global CDN** ready architecture
## π΄ββ οΈ **The Spirit of Freedom**
Just like Monkey D. Luffy pursues his dream of becoming the Pirate King with absolute freedom, **Freedom** gives you complete control over your data. No corporate overlords, no data mining, no hidden agendas - just pure, uncompromised security for your digital treasures.
Your encryption key is your Devil Fruit power - unique to you and incredibly powerful. Guard it well, and it will protect your most precious secrets!
## π **Support & Contact**
- **π Live Demo**: [Freedom App](https://encryptedui.trackitall.in/)
- **β‘ API Status**: [API Health](https://encryptedapi.trackitall.in/api/health)
- **π§ Issues**: Open a GitHub issue
- **π΄ββ οΈ Discussions**: GitHub Discussions
## π **License**
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
*"The sea is vast and full of possibilities. Set sail with Freedom and protect your digital treasures!"*
**β‘ Gear 5 - Freedom Mode Activated! β‘**
---
**π΄ββ οΈ Built with the spirit of adventure and the power of encryption π΄ββ οΈ**
*Inspired by One Piece - Where dreams and freedom sail together!*
[](https://encryptedui.trackitall.in/)
[](https://encryptedui.trackitall.in/)
[](https://encryptedui.trackitall.in/)