{"id":26433637,"url":"https://github.com/anthonyrovira/portfolio_backend","last_synced_at":"2026-04-17T15:07:15.745Z","repository":{"id":282977862,"uuid":"950291167","full_name":"anthonyrovira/portfolio_backend","owner":"anthonyrovira","description":"A modern, secure, and scalable backend API built with Hono.js, TypeScript, and Firebase.","archived":false,"fork":false,"pushed_at":"2025-04-01T22:28:24.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T23:28:41.539Z","etag":null,"topics":["firebase","honojs","nodejs","resend-email","software-craftsmanship","typescript","zod-validation"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthonyrovira.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}},"created_at":"2025-03-17T23:49:31.000Z","updated_at":"2025-04-01T22:28:27.000Z","dependencies_parsed_at":"2025-03-18T00:32:14.652Z","dependency_job_id":"1047d5b6-2d9f-420c-911d-d7b928896e00","html_url":"https://github.com/anthonyrovira/portfolio_backend","commit_stats":null,"previous_names":["anthonyrovira/portfolio_backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anthonyrovira/portfolio_backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonyrovira%2Fportfolio_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonyrovira%2Fportfolio_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonyrovira%2Fportfolio_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonyrovira%2Fportfolio_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonyrovira","download_url":"https://codeload.github.com/anthonyrovira/portfolio_backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonyrovira%2Fportfolio_backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31933783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["firebase","honojs","nodejs","resend-email","software-craftsmanship","typescript","zod-validation"],"created_at":"2025-03-18T07:17:50.887Z","updated_at":"2026-04-17T15:07:15.740Z","avatar_url":"https://github.com/anthonyrovira.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Deploy Backend](https://github.com/anthonyrovira/portfolio_backend/actions/workflows/deploy-backend.yml/badge.svg)](https://github.com/anthonyrovira/portfolio_backend/actions/workflows/deploy-backend.yml)\n\n# Anthony Rovira - Portfolio Backend\n\nA modern, secure, and scalable backend API built with Hono.js, TypeScript, and Firebase.\n\n## Features\n\n- 🔒 Secure API endpoints with rate limiting\n- 📧 Email notifications using Resend\n- 💾 Firebase Firestore database\n- 🚀 TypeScript for type safety\n- 🛡️ Security headers and CORS protection\n- 📝 Input validation with Zod\n- 🧹 Clean Architecture principles\n\n## Prerequisites\n\n- Node.js (v18 or higher)\n- pnpm\n- Firebase project\n- Resend account\n\n## Environment Variables\n\nCreate a `.env` file in the root directory with the following variables:\n\n```env\n# API Security\nAPI_INTERNAL=your_secure_secret_here\n\n# Firebase Configuration\nFIREBASE_API_KEY=your_firebase_api_key\nFIREBASE_AUTH_DOMAIN=your_firebase_auth_domain\nFIREBASE_PROJECT_ID=your_firebase_project_id\nFIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket\nFIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id\nFIREBASE_APP_ID=your_firebase_app_id\nFIREBASE_MEASUREMENT_ID=your_firebase_measurement_id\n\n# Email Configuration (Resend)\nRESEND_API_KEY=your_resend_api_key\nRESEND_FROM_EMAIL=your_verified_email@domain.com\n\n# CORS Configuration\nALLOWED_ORIGIN=http://localhost:3000\n```\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/anthonyrovira_backend.git\ncd anthonyrovira_backend\n```\n\n2. Install dependencies:\n\n```bash\npnpm install\n```\n\n3. Start the development server:\n\n```bash\npnpm run dev\n```\n\nThe server will start on `http://localhost:3000`\n\n## API Endpoints\n\n### Contact Form\n\n- `POST /api/messages`\n  - Rate limited: 5 requests per hour\n  - Validates input data\n  - Sends email notification\n  - Stores message in Firebase\n\n### Admin\n\n- `GET /api/messages`\n  - Retrieves all messages (protected)\n\n## Project Structure\n\n```\nsrc/\n├── config/           # Configuration files\n├── features/         # Feature modules\n│   └── messages/     # Message feature\n├── shared/          # Shared utilities\n│   ├── middleware/  # Custom middleware\n│   └── errors/      # Error handling\n└── index.ts         # Application entry point\n```\n\n## Security Features\n\n- Rate limiting on API endpoints\n- Security headers (XSS, CSRF, etc.)\n- CORS protection\n- Input validation\n- Error handling\n- Type safety with TypeScript\n\n## Development\n\nThe project uses:\n\n- TypeScript for type safety\n- ESLint for code linting\n- Prettier for code formatting\n- Hono.js for the web framework\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonyrovira%2Fportfolio_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonyrovira%2Fportfolio_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonyrovira%2Fportfolio_backend/lists"}