Closed gmnikhil closed 3 years ago
Added newsletter UI and functionality.
closes: #11
When email is submitted, a document containing field email is added to firebase collection named 'newsletters'.
When newsletter is published, an email is sent to all the various emails in the 'newsletter' collection.
Server is set up using node.js.
This server runs at port 3000.
npm install
server
service account admin credentials
secrets
serviceKey.json
cred.js
npm start
BASE_URL can be changed in the constant.js in src/constants
src/constants
Do assign me points.
Thanks for assigning this to me.
@Priyanshu-official @JoshuaPoddoku
Added newsletter UI and functionality.
closes: #11
When email is submitted, a document containing field email is added to firebase collection named 'newsletters'.
When newsletter is published, an email is sent to all the various emails in the 'newsletter' collection.
Server is set up using node.js.
Info to start server:
This server runs at port 3000.
Make sure you start server first before starting client.
Steps to Follow to correctly start Server:
npm install
inserver
directoryservice account admin credentials
for Node.js from firebase (for this you need to go and create a firebase project)secrets
folder as a file namedserviceKey.json
cred.js
file in secrets folder with your own email and password. Email will be sent via this account.npm start
inserver
directoryWhat does server do?
I have written the above in a README in the
server
folder for future reference.BASE_URL can be changed in the constant.js in
src/constants
I am a DWOC participant.
Do assign me points.
Thanks for assigning this to me.