Skip to content

melvincayas/personal-website

Repository files navigation

My Personal Website

This is my personal website which showcases my work, blog posts, and contact information. I designed this in Figma and built it with Next.js. You can view it live here! Feel free to fork this and use it as as template for your own website.

Built With

Installation

  1. Clone this repo
git clone https://github.com/melvincayas/personal-website.git
  1. Install NPM packages
npm install

Using the Contact Form

To use the contact form, you must set up your e-mail information and the Google reCAPTCHA:

  1. Sign up for your Google reCAPTCHA API key pair here.

  2. Create a dummy e-mail account solely for sending e-mails to your personal account. Nodemailer will use this to send an e-mail of the filled-out contact form to your personal e-mail. This repo is currently setup for Google e-mails. If you create an e-mail outside of Google, you'll have to modify the code below in sendMail.js:

const transporter = nodemailer.createTransport({
	port: 465,
	host: "smtp.gmail.com",
	auth: {
		user: EMAIL,
		pass: PASSWORD,
	},
	secure: true,
});
  1. Include this in your .env file:
DUMMY_EMAIL=YOUR_DUMMY_EMAIL
DUMMY_PASSWORD=YOUR_DUMMY_EMAIL_PASSWORD
PERSONAL_EMAIL=YOUR_PERSONAL_EMAIL
SECRET_KEY=YOUR_GOOGLE_RECAPTCHA_SECRET_KEY
  1. Include this in your .env.local file:
NEXT_PUBLIC_SITE_KEY=YOUR_GOOGLE_RECAPTCHA_SITE_KEY

Contributing

I'm always open to improving my code and the best way to do that is by having others critique it. If you see any bugs or opportunities to refactor, please let me know. It would be highly appreciated!

  1. Fork this repo

  2. Create your branch for improvement

git checkout -b your-improvement
  1. Commit your changes
git commit -m "Refactored the code"
  1. Push to your branch
git push origin your-improvement
  1. Open a Pull Request

Acknowledgements

Contact

Melvin Cayas
cayasmj@gmail.com
melvincayas.com

Links
Live Version
GitHub

About

My personal website using React and Next.js.

Topics

Resources

Stars

Watchers

Forks