{"id":22341777,"url":"https://github.com/weaponsforge/testing-mailgun","last_synced_at":"2025-03-26T09:27:57.693Z","repository":{"id":52856686,"uuid":"357769918","full_name":"weaponsforge/testing-mailgun","owner":"weaponsforge","description":"Testing mailgun.","archived":false,"fork":false,"pushed_at":"2021-04-20T09:52:15.000Z","size":648,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-01-31T10:44:41.213Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/weaponsforge.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}},"created_at":"2021-04-14T04:11:26.000Z","updated_at":"2021-04-20T09:52:17.000Z","dependencies_parsed_at":"2022-08-23T09:20:54.197Z","dependency_job_id":null,"html_url":"https://github.com/weaponsforge/testing-mailgun","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/weaponsforge%2Ftesting-mailgun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaponsforge%2Ftesting-mailgun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaponsforge%2Ftesting-mailgun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaponsforge%2Ftesting-mailgun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaponsforge","download_url":"https://codeload.github.com/weaponsforge/testing-mailgun/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245625208,"owners_count":20646112,"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":[],"created_at":"2024-12-04T08:08:12.389Z","updated_at":"2025-03-26T09:27:57.673Z","avatar_url":"https://github.com/weaponsforge.png","language":"JavaScript","readme":"## testing-mailgun\n\n\u003e Testing mailgun for sending and keeping track of emails.\n\n### Requirements\n\n- NodeJS version 12.16.3 or higher\n\n### Content\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [client](#client)\n- [server](#server)\n\n## Installation\n\n1. Clone this repository.  \n`git clone https://github.com/weaponsforge/testing-mailgun/tree/express-server.git`\n2. Install the **client** dependencies.  \n   - ```\n     cd client\n     npm install\n     ```\n   - Create a **.env** file inside the **/client** directory.\n   - Copy and paste the content of **/client/.env.example** into this file.\n   - Replace the value of `REACT_APP_BASE_API_URL` with your target api url.\n3. Install the **server** dependencies.  \n   - ```\n     cd server\n     npm install\n     ```\n   - Create a **.env** file inside the **/server** directory.\n   - Copy and paste the content of **/server/.env.example** into this file.\n   - Replace the variable values in the **.env** file with your own account.  \n     ```\n     MAILGUN_API_KEY\n     MAILGUN_DOMAIN\n     SENDING_EMAIL_ADDRESSES\n     SENDINBLUE_API_KEY\n     ```\n\n## Usage\n\nStart the client and server for development mode.\n\n1. Start the localhost api server.  \n   ```\n   cd server\n   npm run dev\n   ```\n2. Start the client.\n   ```\n   cd client\n   npm start\n   ```\n\n# client\n\n**Directory:** `/client`\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the `client` project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\n---\n\n# server\n\n**Directory:** `/server`\n\nLocal express server for hosting the built client files and running other backend api.\\\n**Base API url:** http://localhost:3001/api\n\n\n\n## Available Scripts\n\n### `npm start`\n\nRun the local express server for production environment. Requires the `/build` output from the client `npm run build` script.\n\n### `npm run dev`\n\nRun the local express server for development environment.\n\n@weaponsforge  \n20210414\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaponsforge%2Ftesting-mailgun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaponsforge%2Ftesting-mailgun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaponsforge%2Ftesting-mailgun/lists"}