kriasoft / kriasoft/react-firebase-starter

Add sendMessage() mutation

Open
#371 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
JavaScript
Stars
4.5k
Forks
752
PR merge metrics
No merged PRs in 30d

Description

Add a GraphQL mutation that will be used on the Contact Us page and Send Feedback modal dialog. For example:

```graphql
mutation {
sendMessage(input: { type: FEEDBACK, message: "Hello world!", email: "user@example.com" })
}
```

#### See
* `src/mutations/SendMessage.js`
* `src/server/mutations/contact.js`

Bonus points for making it work with Firebase reCaptcha.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading src/mutations/SendMessage.js and src/server/mutations/contact.js to understand the existing mutation patterns and the Contact Us or feedback entry points. Implement the sendMessage GraphQL mutation so the example input is accepted and handled; Firebase reCaptcha support is an optional bonus.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, graphql, javascript
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.