Skip to content

jd0x0021/portfoliooo

Repository files navigation

JD Logo

Software Engineer Portfolio

image

I have a strong background in full-stack development, working with various programming languages and technologies. Each project reflects my passion for building well-crafted & intuitive web solutions.


Installation

To run this project locally, follow these steps:

  1. Clone the repository.
https://github.com/jd0x0021/portfoliooo.git

 

  1. Install dependencies.
cd portfoliooo
npm install

 

  1. Start the application.
npm run dev

The app will be running at http://localhost:5173.


Setting up the Contact Form (for LOCAL environment)

I used EmailJS as an email delivery service. These are the guides that I followed:

  1. Create Your EmailJS Account & Install EmailJS Package.

Note: don't install axios like the one in the youtube video.

Youtube video to setup EmailJS

Article to setup EmailJS

 

  1. Configure your .env file so that you will be able to test your contact form locally (see the next section on how to configure these variables for production environment).

Create a .env file at the root of your project (just like in the image below).

After setting up your EmailJS account, add your EmailJS public key, service id, and template id to your .env file (because this will be used in the code).

env file usage

 

  1. Test the contact form.
contact form with data

 

  1. We will receive the message from our email if our setup is successful!
message from contact form

Hosting and Deployment

My portfolio is hosted on Cloudflare Pages. This is how I set it up:

  1. Create a Cloudflare Pages account, then login.
  2. On the sidebar select Workers & Pages.
  3. Click the Create button.
  4. Select Pages tab.
  5. Click the Connect to Git button.
  6. Select your portfolio's repository, then click Begin setup button.
  7. Input the project's details, then click Save and Deploy button.
project deployment config

 

  1. Wait until your project is completely deployed. Even after the success message, it may take some time for your project to be fully deployed.
  2. On the sidebar select Workers & Pages, then select your project.
  3. Go to the Settings tab, then select Variables and Secrets, and add the EmailJS properties (so that the send email functionality will work in production).
emailjs env properties on cloudflare pages

 

  1. Done! The website is successfully hosted! 🤩

Credits

My portfolio website was heavily inspired by the work of: HamishMW.

About

Second iteration of my personal website built with React.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published