https://github.com/nia3zzz/MERN---Email-Sender
This MERN app allows users to send emails to single or multiple users very , featuring functionalities for adding attachments,texts or paragraphs, and saving every single emails sent in MongoDB.
https://github.com/nia3zzz/MERN---Email-Sender
api axios bootstrap5 email-sender environment-variables expressjs fullstack-development javascript mern-stack mongoatlas mongoose nodemailer reactjs
Last synced: 12 months ago
JSON representation
This MERN app allows users to send emails to single or multiple users very , featuring functionalities for adding attachments,texts or paragraphs, and saving every single emails sent in MongoDB.
- Host: GitHub
- URL: https://github.com/nia3zzz/MERN---Email-Sender
- Owner: nia3zzz
- Created: 2024-04-20T10:38:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T16:23:27.000Z (about 2 years ago)
- Last Synced: 2025-01-07T18:53:40.749Z (over 1 year ago)
- Topics: api, axios, bootstrap5, email-sender, environment-variables, expressjs, fullstack-development, javascript, mern-stack, mongoatlas, mongoose, nodemailer, reactjs
- Language: JavaScript
- Homepage:
- Size: 4.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
Simple MERN Email Sender
This MERN app allows users to send emails to single or multiple users very , featuring functionalities for adding attachments,texts or paragraphs, and saving every single emails sent in MongoDB. It uses MongoDB as the database to store email data, Express.js for handling server-side logic, React.js for building the user interface, and Node.js for server-side runtime environment. The app provides a seamless experience for users to send emails and save time.
Running the Project Locally
To run this project on your local machine, follow these steps:
1. Clone the Repository: Clone this repository to your local machine:
git clone
2. Navigate to Project Directory: Move into the project directory:
cd
3. Install Dependencies: Install the necessary dependencies using npm or yarn:
npm install
or
yarn
4. Setup Environment Variables: Create a `.env` file in the root of your project directory and add the following variables:
MONGODB_URI=your_mongodb_uri
PORT=5000
CLIENT_PORT=3000
Replace `your_mongodb_uri` with your MongoDB connection URI. Customize the `PORT` and `CLIENT_PORT` variables if needed.
5. Start the Development Server: Run the following command to start the development server:
npm start
6. Access the App: Open your web browser and navigate to `http://localhost:3000` to access the app. You can now use the app locally on your machine, connected to your MongoDB database using the URI specified in the `.env` file.
7. Note: The project may not work if you do not install dependencies in both front end and backend. So you would have to apply step 2 and 3 twice, once in frontend and once in backend.