Giter Site home page Giter Site logo

birthday-email-sender's Introduction

Birthday Email Sender

Birthday Email Sender is a Node.js web application built with Express, MongoDB, TypeORM, and Cron. It allows you to manage user information and sends birthday emails to users every day at 9 AM based on the specified timezone.

Table of Contents

Features

  • User Management: Create, Read, Update, and Delete user profiles.
  • Scheduled Emails: Automatically send birthday emails to users at 9 AM based on their timezone.
  • Data Persistence: Store user information in a MongoDB database using TypeORM.
  • Customizable: Easily configure the application's settings to match your requirements.

Tech Stack

  • Node.js: A runtime for executing JavaScript code on the server-side.
  • Express: A web application framework for Node.js that simplifies building web applications.
  • MongoDB: A NoSQL database for data storage.
  • TypeORM: An Object-Relational Mapping (ORM) library for TypeScript and JavaScript.
  • Cron: A time-based job scheduler to automate the birthday email sending process.

Getting Started

To get started with Birthday Email Sender, follow these steps:

  1. Clone the repository:
git clone https://github.com/raflymaulana28/birthday-email-sender.git
cd birthday-email-sender
  1. Install dependencies:
npm install
  1. Set up your MongoDB connection by editing the configuration files on ormconfig.json.

  2. Set up your email-sender url on env.

  3. Start the application:

npm start

Usage

Once the application is running, you can use the API endpoints to manage user profiles and configure the birthday email settings.

API Endpoints

The following API endpoints are available:

  • GET /user: Get a list of all users.
  • GET /user/:id: Get a specific user by their ID.
  • POST /user: Create a new user.
  • PUT /user/:id: Update a user's information.
  • DELETE /user/:id: Delete a user.

Configuration

You can configure the application by editing the following files:

  • ormconfig.json: Configure your MongoDB connection details.

Make sure to check the application's documentation for more details on these configuration options.


birthday-email-sender's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.