- First run npm i in the main directory.
- Then run the server using npm run server.
- Use postman or any other client to call the api.
- The first api that should be called is http://localhost:5000/api/geturl (A post request) this will return a url which should be openned the browser to get the access token.
- The second to call is http://localhost:5000/api/sendToken (A post request). With the call a json with the token should be provided. This will store a token.json file in the backend in the config folder which will be used for the next api.
- To send an email call http://localhost:5000/api/sendEmail (A post request) with the parameters as shown in the screenshot folder.
-
Notifications
You must be signed in to change notification settings - Fork 0
Mr-Anon/NodeGmailer
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published