Skip to content

Commit

Permalink
[Issue #1362] Sendy Update (#2530)
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch authored Oct 29, 2024
1 parent 5053cd8 commit fa3aabd
Show file tree
Hide file tree
Showing 20 changed files with 525 additions and 463 deletions.
12 changes: 12 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,18 @@ It's recommended that developers configure their code editor to auto run these t

\*\* Note that debugging the server-side or full-stack here doesn't debug the API. See the API

## Testing the newsletter subscription form

The project uses [Sendy](https://sendy.co/api) to manage the newsletter. To the `/subscribe` form locally, Sendy test environment variables need to be added to the `.env.local` file or exported as environment variables:

```
SENDY_API_KEY=
SENDY_API_URL=
SENDY_LIST_ID=
```

These are stored as parameters in AWS System Manager and can be obtained there or from another developer on the team. They are not available for outside contributors.

## Other topics

- [Internationalization](../documentation/frontend/internationalization.md)
Expand Down
1 change: 0 additions & 1 deletion frontend/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
20 changes: 16 additions & 4 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"react-dom": "^18.2.0",
"server-only": "^0.0.1",
"sharp": "^0.33.0",
"use-debounce": "^10.0.0"
"use-debounce": "^10.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.0.2",
Expand Down
217 changes: 0 additions & 217 deletions frontend/src/app/[locale]/subscribe/SubscriptionForm.tsx

This file was deleted.

Loading

0 comments on commit fa3aabd

Please sign in to comment.