RealDevSquad / RealDevSquad/website-backend
[GET] and [POST] APIs for Subscribe to Newsletter
Open
@spverma536 is already working on this.
Since Apr 25, 2022.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
We need to make two APIs which will be as follows :
- GET - This API will get all the emails that we have in Firestore
- POST - Used to subscribe to the newsletter where the user will enter their email and on submitting it will be stored in Firestore.
Also, POST API can be used tounsubscribeto newsletter.
Structure :
email : xyz@gmail.com
subscribed : true or false
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.