WhatsApp.Video.2023-12-08.at.6.50.36.PM.mp4
Emaily is a web app, powered by the MERN stack and Redux, designed for start-up owners to send bulk emails with surveys for collecting customer reviews, it uses the SendGrid API to manage email sending, a credit system for bulk emails, and Stripe API for secure payments. Users create accounts, compose surveys, and purchase credits to gather feedback efficiently. With a user-friendly interface, Emaily provides a comprehensive solution for managing bulk email campaigns and obtaining valuable customer insights
Prerequisites:
- Node.js v16+
- npm
- Git
1. Clone the Repository:
Open a terminal in your desired directory and run:
git clone https://github.com/Ayyanaruto/Emaily
cd Emaily
2. Install Dependencies:
Run the following command to install all necessary dependencies:
npm install
Change directory to client and install all client dependencies:
cd client
npm install
cd..
3. Configure Environment Variables:
Create a .env
file in the root directory and populate it with the following environment variables:
Server:
GOOGLE_CLIENT_ID
: Your Google Client IDGOOGLE_CLIENT_SECRET
: Your Google Client SecretSECRET
: Your application secret (used for JWT signing)MONGO_DB_URI
: Your MongoDB connection stringSTRIPE_SECRET_KEY
: Your Stripe secret keyREDIRECT_DOMAIN
: Your application's domain (e.g., "localhost:3000")
Client: (Create a .env.development
file for development environment)
REACT_APP_STRIPE_CLIENT_ID
: Your Stripe client IDREACT_APP_STRIPE_SECRET_KEY
: Your Stripe secret key (optional for development)REACT_APP_SERVER
: Your server URL (e.g., "http://localhost:8080")
4. Start the Server and Client:
Run the following command to simultaneously start the server and the React application in development mode:
npm run dev
This command uses the concurrently
script defined in the package.json
file.
5. Access the Application:
Open your browser and navigate to http://localhost:3000 to view the React application.
Additional Notes:
- You can find more detailed information about the application and its configuration options in the documentation (if available).
- Remember to replace the placeholder values for environment variables with your own.
- The
.env
and.env.development
files are ignored by Git for security reasons.
This guide should provide a basic understanding of how to install and run the application. For further assistance, consult the project documentation or reach out to the developers.
I hope this helps! Let me know if you have any other questions.
Note: You can deploy on render.com, Its very easy to deploy there.
Note: Just add this script in build command during Setup
npm install && npm run render-postbuild
- This is a basic installation guide. You may need to adjust the steps based on your specific environment.
- Feel free to contribute to the project by creating pull requests on GitHub.
We hope this helps you get started with Emaily!
Name | GitHub Profile |
---|---|
github.com/Ayyannaruto |