A simple app that sends daily astronomy images directly to your email. The tools used are given below:
- Clone the repo by using
git clone https://github.com/kxnalpk/nasa-images.git
. - Rename
.env.example
to.env
and add your own api keys and emails. - Use
npm install
to install all the packages. - Use
npm run dev
to run this locally.
- RESEND_API_KEY: Create an account at https://resend.com and head over to https://resend.com/api-keys and get the key.
- NASA_API_KEY: Go to https://api.nasa.gov/ and simply fill the form to get access to NASA's API key.
- First of all, you need to register your domain at https://resend.com/domains. Use [email protected] for testing if you don't own one.
- Finally, use an application like postman to create a
POST
http request forhttp://localhost:3000/api/send
.