{"id":28564370,"url":"https://github.com/eritech98/portfolio-backend-service","last_synced_at":"2026-05-07T01:39:53.014Z","repository":{"id":287469030,"uuid":"964836957","full_name":"eritech98/Portfolio-Backend-Service","owner":"eritech98","description":"A backend service built with Node.js and Express to power the portfolio website, handling form submissions, managing portfolio data, and integrating with an email service.","archived":false,"fork":false,"pushed_at":"2025-06-02T21:59:07.000Z","size":98,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-07T01:39:22.151Z","etag":null,"topics":["express-js","gmail-smtp","nodejs","nodemailer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eritech98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-04-11T21:50:22.000Z","updated_at":"2025-06-02T21:59:11.000Z","dependencies_parsed_at":"2025-06-10T13:36:32.172Z","dependency_job_id":"2a01017e-6f32-44de-80f9-e6c2f2cf92cc","html_url":"https://github.com/eritech98/Portfolio-Backend-Service","commit_stats":null,"previous_names":["eritech98/portfolio-backend-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eritech98/Portfolio-Backend-Service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritech98%2FPortfolio-Backend-Service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritech98%2FPortfolio-Backend-Service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritech98%2FPortfolio-Backend-Service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritech98%2FPortfolio-Backend-Service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eritech98","download_url":"https://codeload.github.com/eritech98/Portfolio-Backend-Service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritech98%2FPortfolio-Backend-Service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32719573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T00:29:05.620Z","status":"ssl_error","status_checked_at":"2026-05-07T00:28:57.074Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["express-js","gmail-smtp","nodejs","nodemailer"],"created_at":"2025-06-10T13:36:08.552Z","updated_at":"2026-05-07T01:39:52.994Z","avatar_url":"https://github.com/eritech98.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 📬 Node.js Email Backend Service\n\nA simple backend service built with **Express** and **Nodemailer** to send emails. Designed to be lightweight, environment-configurable, and easily deployable (e.g., on Railway).\n\n---\n\n## 🚀 Features\n\n- Built with Node.js and Express\n- Handles CORS and JSON requests\n- Sends emails using Gmail SMTP via Nodemailer\n- `.env` support for secure config\n\n---\n\n## 📁 Project Structure\n\n```\nbackend/\n├── index.js           # Main server file\n├── .env               # Environment variables (not committed)\n├── package.json       # NPM scripts and dependencies\n└── README.md          # You're reading this\n```\n\n---\n\n## ⚙️ Environment Variables\n\nCreate a `.env` file in the root directory:\n\n```env\nEMAIL_HOST=smtp.gmail.com\nEMAIL_PORT=587\nEMAIL_USER=your_email@gmail.com\nEMAIL_PASS=your_email_app_password\nPORT=3000\n```\n\n\u003e ⚠️ Do not commit this file! Add `.env` to your `.gitignore`.\n\n---\n\n## 💻 Installation \u0026 Running Locally\n\n1. **Clone the repository:**\n\n```bash\ngit clone https://github.com/your-username/your-repo-name.git\ncd backend\n```\n\n2. **Install dependencies:**\n\n```bash\nnpm install\n```\n\n3. **Start the server:**\n\n```bash\nnpm start\n```\n\n\u003e Or use `npm run dev` if you're developing with live reload.\n\n---\n\n## 📫 Sending an Email\n\nMake a `POST` request to:\n\n```\nPOST http://localhost:3000/send\n```\n\n### Request body (JSON):\n\n```json\n{\n  \"to\": \"recipient@example.com\",\n  \"subject\": \"Test Email\",\n  \"text\": \"Hello from Erick's email backend!\"\n}\n```\n---\n\n## 🧾 Scripts\n\n| Command       | Description                     |\n| ------------- | ------------------------------- |\n| `npm start`   | Start the server                |\n| `npm run dev` | Run with nodemon (live reload)  |\n| `npm run test`| Placeholder test script         |\n\n---\nThis a sample of what to expect when the route is hit.Please note it uses gmail smtp service.\n![](https://github.com/eritech98/Portfolio-Backend-Service/blob/main/React.PNG?raw=true)\n\n## 👤 Author\n\nMade with ❤️ by **Erick Olando**\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feritech98%2Fportfolio-backend-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feritech98%2Fportfolio-backend-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feritech98%2Fportfolio-backend-service/lists"}