Welcome to Sigmail, the backend application designed for managing email newsletters. This project provides a robust API to help you create, send, and track your email campaigns effortlessly. Whether you are a developer looking to integrate email functionalities into your application or a business owner wanting to reach your audience effectively, Sigmail has you covered.
- RESTful API: Simple and intuitive API for seamless integration.
- Email Templates: Use customizable templates for your newsletters.
- Analytics: Track open rates, click rates, and other metrics.
- User Management: Manage subscribers easily.
- Scalability: Built on Node.js, designed to handle high traffic.
To get started with Sigmail, you will need to clone the repository and set up your environment. Follow the instructions below to set up your local development environment.
-
Clone the repository:
git clone https://github.com/saad472/Sigmail.git cd Sigmail
-
Install dependencies:
npm install
-
Set up environment variables. Create a
.env
file in the root directory and add your configurations:PORT=3000 DB_URI=mongodb://localhost:27017/sigmail API_KEY=your_api_key
-
Start the server:
npm start
Your Sigmail server should now be running on http://localhost:3000
.
After installation, you can use the API to manage your email newsletters. Here are some examples of how to use the API endpoints.
To send a newsletter, make a POST request to /api/newsletters/send
with the following JSON body:
{
"subject": "Your Newsletter Subject",
"body": "This is the body of your newsletter.",
"recipients": ["[email protected]", "[email protected]"]
}
To fetch analytics for a specific newsletter, make a GET request to /api/newsletters/:id/analytics
.
To add a subscriber, make a POST request to /api/subscribers
with the subscriber's email:
{
"email": "[email protected]"
}
For detailed API documentation, please refer to the API Docs.
We welcome contributions! If you would like to contribute to Sigmail, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add your message here"
- Push to the branch:
git push origin feature/YourFeature
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, feel free to reach out to the maintainer:
- Name: Your Name
- Email: [email protected]
You can download the latest releases from our Releases section. Make sure to check it regularly for updates and new features.
Thank you for checking out Sigmail. We hope this application helps you streamline your email newsletter process. For more information, visit our Releases section to stay updated on the latest features and fixes. Happy coding!