{"id":16596156,"url":"https://github.com/edixonalberto/api-email-sendgrid","last_synced_at":"2026-04-23T09:32:36.468Z","repository":{"id":42635807,"uuid":"256035946","full_name":"EdixonAlberto/api-email-sendgrid","owner":"EdixonAlberto","description":"Api to send email through of service the Sendgrid","archived":false,"fork":false,"pushed_at":"2023-03-22T15:09:21.000Z","size":460,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T03:46:07.357Z","etag":null,"topics":["api","node","portfolio","sendgrid","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"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/EdixonAlberto.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}},"created_at":"2020-04-15T21:01:43.000Z","updated_at":"2023-05-16T22:40:34.000Z","dependencies_parsed_at":"2023-01-28T18:00:57.528Z","dependency_job_id":null,"html_url":"https://github.com/EdixonAlberto/api-email-sendgrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdixonAlberto%2Fapi-email-sendgrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdixonAlberto%2Fapi-email-sendgrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdixonAlberto%2Fapi-email-sendgrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdixonAlberto%2Fapi-email-sendgrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdixonAlberto","download_url":"https://codeload.github.com/EdixonAlberto/api-email-sendgrid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242260826,"owners_count":20098643,"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","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":["api","node","portfolio","sendgrid","typescript"],"created_at":"2024-10-11T23:52:28.769Z","updated_at":"2026-04-23T09:32:36.426Z","avatar_url":"https://github.com/EdixonAlberto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Api Email Sendgrid\n\nApi to send email through of service the Sendgrid\n\n![api-email-sendgrid](./.github/image.png)\n\n## Starter\n\nInstall all the dependencies.\n\n```sh\nyarn install\n```\n\nCreate file `.env` with the keys they are in the template.\n\n```sh\ncopy template.env .env\n```\n\nAdd the environment variables.\n\n- create a **SERVER_API_KEY** executing the command\n\n```sh\nyarn create-apikey\n```\n\n- create a **SENDGRID_API_KEY** logging into your\n  [sendgrid account](https://app.sendgrid.com/), which must have the following format:\n  `SG.aaaaaaaaaaaaaa.bbbbbbbbbbbbbbbbbbbbbbbb`\n\n- create a **RECAPTCHA_API_KEY** using google service\n  [Recaptcha](https://developers.google.com/recaptcha/docs/v3).\n\nStart api in mode development.\n\n```sh\nyarn dev\n```\n\n## Commands List\n\n```sh\nyarn lint # linting to files .ts with Prettier\nyarn create-apikey # create api key\nyarn dev # run api in mode development\nyarn prod # run api in mode production\n```\n\n## Command to Deploy in Server\n\n```sh\nyarn build # build api\nyarn start # run api builded\n```\n\n## Endpoints List\n\n| Endpoint                | HTTP | Description                 | Status      |\n| ----------------------- | ---- | --------------------------- | ----------- |\n| `/api`                  | GET  | Send a email from interface | IN PROGRESS |\n| `/status`               | GET  | Check api status            | OK          |\n| `/api/recaptcha_verify` | POST | Verify captcha of Google    | OK          |\n| `/api/send_email`       | POST | Send a email                | OK          |\n\n## Request Example\n\n![request-example](./.github/example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedixonalberto%2Fapi-email-sendgrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedixonalberto%2Fapi-email-sendgrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedixonalberto%2Fapi-email-sendgrid/lists"}