- Make sure Git and NodeJS is installed
- Clone this repository to your local computer.
- Create .env file in root folder.
- Contents of .env:
VITE_APP_SERVICE_ID=XXXXXXXXXXXXXXXX
VITE_APP_TEMPLATE_ID=XXXXXXXXXXXXXXXX
VITE_APP_EMAILJS_KEY=XXXXXXXXXXXXXXXX
VITE_APP_EMAILJS_RECIEVER=your@gmail.com
-
Open terminal in root directory. Run
npm install
. -
Create new account in EmailJS
-
From dashboard Choose Email Services > Add New Service and connect your mail to emailjs.
NOTE: Make Sure you type same email in VITE_APP_EMAILJS_RECIEVER
in .env
-
Once, New service is configured, copy your service id to
VITE_APP_SERVICE_ID
-
Now, go to Email Templates > Create New Template to create your mail template. Once it is done, you can copy Template ID to
VITE_APP_TEMPLATE_ID
-
To get your Public Key, click on your username on navbar and go to account settings > Copy Public Key to
VITE_APP_EMAILJS_KEY
-
Now app is fully configured 👍 and you can start using this app using
npm run dev
. The app is created using vite.
NOTE: Make sure you don't share these keys publicaly.