Skip to content

KasperNeth/birthday-wish-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

birthday-wish-app

Altschool-third-semester-assignment

Birthday Wish App

This is a simple birthday wish cron-job app which runs exactly 7:00AM everyday. It allows users to register with their Username, Email and Dob. Subscribers to receive birthday wishes via email on their birthday's every year. The app is built using express and nodejs, and it uses Mongodb as the database. With vanilla JavaScript, the app provides a user-friendly interface for subscribers to sign up and receive birthday wishes.

`

Getting Started

To get started with the app, follow these steps:

  1. Clone the repository to your local machine.
git clone
 https://github.com/KasperNeth/birthday-wish-app.git
  1. Navigate to the project directory.
cd birthday-wish-app
  1. Install the required dependencies.
npm install
  1. Create a .env file in the root directory and add the following environment variables:
PORT=3000
MONGODB_URI=your_mongodb_uri
email_password=your_email_password
email_user=your_email_address
  1. Start the server.
npm run start
  1. Open your browser and navigate to http://localhost:3000 to access the app.
  2. You can use Postman or any other API testing tool to test the API endpoints.
  3. The app will run a cron job every day at 7:00 AM to send birthday wishes to users who have their birthday on that day.

About

Altschool-third-semester-assignment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published