This MERN app allows users to send emails to single or multiple users, featuring functionalities for adding attachments, texts or paragraphs, and saving every single email 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 the server-side runtime environment. The app provides a seamless experience for users to send emails and save time.
To run this project on your local machine, follow these steps:
Clone this repository to your local machine:
git clone <repository_url>
Move into the project directory:
cd <project_directory>
Install the necessary dependencies using npm or yarn:
npm install
or
yarn
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.
Run the following command to start the development server:
npm start
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.
The project may not work if you do not install dependencies in both the front end and backend. So you will have to apply steps 2 and 3 twice, once in the frontend and once in the backend.
Feel free to reach out if you have any questions or run into any issues! Happy coding!