{"id":31358667,"url":"https://github.com/rajtilak-2020/nexus-manager","last_synced_at":"2025-09-26T22:53:08.511Z","repository":{"id":316025128,"uuid":"1061633602","full_name":"rajtilak-2020/Nexus-Manager","owner":"rajtilak-2020","description":"A React-powered content management system that leverages Supabase's real-time database for instant site updates. Free, fast, and built specifically for developers who want seamless content management.","archived":false,"fork":false,"pushed_at":"2025-09-22T07:29:11.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T09:28:26.231Z","etag":null,"topics":["cms","portfolio","supabase","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajtilak-2020.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-22T07:21:42.000Z","updated_at":"2025-09-22T07:29:15.000Z","dependencies_parsed_at":"2025-09-22T09:38:35.440Z","dependency_job_id":null,"html_url":"https://github.com/rajtilak-2020/Nexus-Manager","commit_stats":null,"previous_names":["rajtilak-2020/nexus-manager"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rajtilak-2020/Nexus-Manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FNexus-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FNexus-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FNexus-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FNexus-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajtilak-2020","download_url":"https://codeload.github.com/rajtilak-2020/Nexus-Manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FNexus-Manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277156205,"owners_count":25770567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-26T02:00:09.010Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","portfolio","supabase","webdevelopment"],"created_at":"2025-09-26T22:53:05.225Z","updated_at":"2025-09-26T22:53:08.504Z","avatar_url":"https://github.com/rajtilak-2020.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlogCMS - Multi-User Blog Management System\n\nA comprehensive Content Management System (CMS) specifically designed for managing blog sections across multiple portfolio websites. Built with React, TypeScript, and Supabase.\n\n## Features\n\n### 🔐 Authentication \u0026 User Management\n- User registration and secure sign-in system\n- Individual user profiles and settings\n- Complete data isolation between users\n- Password reset functionality\n\n### 📝 Blog Content Management\n- Rich text editor with markdown support and live preview\n- Draft, published, and inactive status management\n- SEO metadata management (title, description, keywords)\n- Featured images and media management\n- Reading time calculation\n- Automatic slug generation\n- Tag system for categorization\n\n### 🔑 API Integration\n- Unique API key generation per user\n- RESTful API endpoints for external consumption\n- CORS-enabled API for cross-origin requests\n- API usage tracking and management\n\n### 🎨 Modern UI/UX\n- Clean, intuitive dashboard design\n- Responsive layout for all device sizes\n- Dark/light mode support\n- Smooth animations and transitions\n- Professional color system and typography\n\n### 🛡️ Security \u0026 Performance\n- Row-level security (RLS) policies in Supabase\n- API key authentication for external access\n- Input sanitization and XSS protection\n- Efficient caching and optimization\n\n## Tech Stack\n\n- **Frontend**: React 18, TypeScript, Tailwind CSS\n- **Backend**: Supabase (PostgreSQL, Auth, Storage, Edge Functions)\n- **Editor**: React Quill (Rich text editing)\n- **Forms**: React Hook Form with Yup validation\n- **Routing**: React Router Dom\n- **Icons**: Heroicons\n- **Notifications**: React Hot Toast\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18+ and npm\n- Supabase account\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd blogcms\n   ```\n\n2. **Install dependencies**\n   ```bash\n   npm install\n   ```\n\n3. **Set up Supabase**\n   - Create a new Supabase project at [supabase.com](https://supabase.com)\n   - Copy your project URL and anon key\n   - Run the database migration in Supabase SQL editor:\n     ```sql\n     -- Copy and run the content from supabase/migrations/create_blog_cms_schema.sql\n     ```\n\n4. **Configure environment variables**\n   ```bash\n   cp .env.example .env\n   ```\n   Then update `.env` with your Supabase credentials:\n   ```\n   VITE_SUPABASE_URL=your_supabase_url\n   VITE_SUPABASE_ANON_KEY=your_supabase_anon_key\n   ```\n\n5. **Deploy Edge Function (Optional)**\n   If you want to use the API endpoint:\n   - Deploy the edge function from `supabase/functions/blog-api/index.ts`\n   - This provides external API access for portfolio integration\n\n6. **Start the development server**\n   ```bash\n   npm run dev\n   ```\n\n## Usage\n\n### For CMS Users\n\n1. **Sign Up**: Create your account at `/signup`\n2. **Dashboard**: Overview of your blog statistics and recent posts\n3. **Create Blogs**: Use the rich text editor with live preview\n4. **Manage Status**: Switch between draft, published, and inactive\n5. **API Keys**: Generate keys for external portfolio integration\n6. **SEO Optimization**: Add meta titles, descriptions, and tags\n\n### For Portfolio Integration\n\nUse your API key to fetch published blogs:\n\n```javascript\n// Fetch all published blogs\nconst response = await fetch(`https://your-supabase-url.supabase.co/functions/v1/blog-api/blogs`, {\n  headers: {\n    'Authorization': `Bearer YOUR_API_KEY`,\n    'apikey': 'YOUR_SUPABASE_ANON_KEY'\n  }\n});\n\nconst { data: blogs } = await response.json();\n\n// Fetch specific blog by slug\nconst response = await fetch(`https://your-supabase-url.supabase.co/functions/v1/blog-api/blogs/${slug}`, {\n  headers: {\n    'Authorization': `Bearer YOUR_API_KEY`,\n    'apikey': 'YOUR_SUPABASE_ANON_KEY'\n  }\n});\n\nconst { data: blog } = await response.json();\n```\n\n### Blog Data Structure\n\n```typescript\ninterface Blog {\n  id: string;\n  title: string;\n  slug: string;\n  summary: string;\n  content: string;\n  featured_image_url?: string;\n  status: 'draft' | 'published' | 'inactive';\n  reading_time: number;\n  published_at?: string;\n  created_at: string;\n  updated_at: string;\n  tags?: Array\u003c{\n    name: string;\n    slug: string;\n    color: string;\n  }\u003e;\n}\n```\n\n## Database Schema\n\nThe system uses the following main tables:\n\n- `users` - User profiles and information\n- `user_api_keys` - API keys for external integration\n- `blogs` - Blog posts with metadata\n- `blog_tags` - Tag definitions\n- `blog_post_tags` - Blog-tag relationships\n- `media` - Uploaded media files\n\nAll tables use Row Level Security (RLS) to ensure data isolation between users.\n\n## API Endpoints\n\n### External API (via Edge Function)\n\n- `GET /functions/v1/blog-api/blogs` - List published blogs\n- `GET /functions/v1/blog-api/blogs/{slug}` - Get specific blog by slug\n\nQuery parameters:\n- `status` - Filter by status (default: 'published')\n- `limit` - Number of blogs to return (default: 50)\n- `offset` - Pagination offset (default: 0)\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Security\n\n- All user data is isolated using Supabase RLS policies\n- API keys are hashed and secured\n- Input validation and sanitization\n- CORS properly configured for API access\n- Authentication required for all CMS operations\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Support\n\nFor support, please open an issue in the GitHub repository or contact the development team.\n\n---\n\n**Built with ❤️ for the developer community**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajtilak-2020%2Fnexus-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajtilak-2020%2Fnexus-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajtilak-2020%2Fnexus-manager/lists"}