https://github.com/basir/react-node-send-email
https://github.com/basir/react-node-send-email
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/basir/react-node-send-email
- Owner: basir
- Created: 2022-03-14T14:49:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-14T15:21:14.000Z (over 4 years ago)
- Last Synced: 2025-04-01T17:49:46.522Z (about 1 year ago)
- Language: JavaScript
- Size: 364 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Send Email By Mailgun, Node and React

Watch it on Youtube:
[https://youtu.be/xYuW_XDvYyQ](https://youtu.be/xYuW_XDvYyQ)
## You Will Learn
- React: Components, Props, Events, Hooks, Axios
- Node & Express: Web API, Body Parser
## Run Locally
### 1. Clone repo
```
$ git clone git@github.com:basir/react-node-send-email.git
$ cd react-node-send-email
```
### 2. Create .env File
- duplicate .env.example in backend folder and rename it to .env
- create account on mailgun.con
- enter domain and api key in the .env fole
### 3. Run Backend
```
$ cd backend
$ npm install
$ npm start
```
### 4. Run Frontend
```
# open new terminal
$ npm install
$ npm start
```
### 6. Test
- Open http://localhost:3000
- Enter email, subject and message and click send email
- Check your inbox
## Support
- Contact Instructor: [Basir](mailto:basir.jafarzadeh@gmail.com)