Zack is an application that allows you to create schedules and send emails based on a specified date and time. With this service, you can easily manage schedules and automate email notifications at the right moment.
- Ensure Git is installed on your machine. You can download it from Git's official website.
- Make sure Node.js is installed on your machine. You can download it from Node.js official website.
- Open the
terminal
, and execute the next command:
git clone https://github.com/dreamcityteam/Zack.git
cd Zack
- Contact the developers to obtain the .env file.
- Add the
.env
file in the root directory of the project.
- Open the terminal at the root of the project and execute the following command:
npm i && npm run start:dev
Retrieve all the schedules added to the system.
https://zack-ivory.vercel.app/api/v1/schedules?token=XXXX
token (required): Authentication token for the request.
Success
:
{
"data": {
"12/26/2024": {
"12:50": {
"[email protected]": true
}
},
"01/08/2025": {
"08:29": {
"[email protected]": true,
"[email protected]": true
}
},
},
"message": "Successfuly",
"status": 200
}
Add a new schedule to the system. This endpoint will also trigger an email to be sent based on the schedule.
https://zack-ivory.vercel.app/api/v1/schedules?token=XXXX
token (required): Authentication token for the request.
{
"schedule": "12:50", // The time when the email should be sent
"date": "12/26/2024", // The date of the schedule
"email": "[email protected]" // Recipient email address
}
Success
:
{
"data": {
"12/26/2024": {
"12:50": {
"[email protected]": true
}
},
},
"message": "Successfuly",
"status": 200
}
Error
:
{
"data": null,
"message": "The date is in the past.",
"status": 400
}
This project is licensed under the MIT License.
For any questions, feel free to reach out to the development:
Email:
[email protected]
WhatsApp:
+1 (829) 683-2226