Skip to content

Personal portfolio website showcasing various programming projects (React, Python, etc.) πŸŒŸπŸš€βœ¨πŸ’»πŸ“š.

License

Notifications You must be signed in to change notification settings

tomdevtech/Project-Website

Repository files navigation

Project Website - Tom DevTech πŸš€βœ¨

This project is a personal portfolio website hosted on GitHub Pages under the domain https://tom-devtech.com/. It showcases various programming projects, demonstrating skills in React, TailwindCSS, TypeScript, and Vite.

🌟 Features

  • πŸ“± Fully responsive layout built with TailwindCSS.
  • βš›οΈ React-based single-page application (SPA) utilizing React Router.
  • πŸ“¦ Deployed via GitHub Pages using Vite.
  • 🌐 Custom domain integrated using Namecheap.

πŸš€ Technologies Used

  • React (with React Router for navigation) βš›οΈ
  • TailwindCSS (for styling) 🎨
  • Vite (for development and building) ⚑
  • GitHub Pages (for hosting) 🌍
  • Namecheap (for custom domain management) πŸ”‘

πŸ“‚ Folder Structure πŸ“

projectwebsite/
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ CNAME   # Contains 'tom-devtech.com'
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ App.tsx
β”‚   β”œβ”€β”€ index.css
β”‚   β”œβ”€β”€ components/
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.cjs
β”œβ”€β”€ vite.config.js
β”œβ”€β”€ README.md

🌐 Deployment Guide 🌟

πŸš€ Deploying to GitHub Pages

  1. 🌟 Create a GitHub repository for your project.
  2. πŸ”Ό Push your React app to the repository.
  3. In your vite.config.js, add the following configuration:
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
  plugins: [react()],
  base: '/', // Adjust if your repository is a subdirectory
});
  1. πŸ“‚ Add a CNAME file to the public directory with the following content:
tom-devtech.com
  1. In your package.json, update your scripts to include:
"scripts": {
  "dev": "vite",
  "build": "vite build",
  "preview": "vite preview",
  "deploy": "gh-pages -d dist"
}
  1. βš™οΈ Build and deploy your project:
npm run build
npm run deploy
  1. πŸ”Ό Push your changes to GitHub.
  2. βœ… Enable GitHub Pages under Settings > Pages in your repository.

🌐 Setting Up a Custom Domain with Namecheap 🌍

  1. πŸ”‘ Log into your Namecheap account.
  2. πŸ“‹ Navigate to Domain List and click Manage next to your domain.
  3. πŸ”§ Go to the Advanced DNS tab.
  4. Add the following DNS records:
    • CNAME Record:
      • Host: www
      • Value: <your-username>.github.io
      • TTL: Automatic
    • A Record:
      • Host: @
      • Value: 185.199.108.153 (and other IPs if needed)
      • TTL: Automatic
  5. πŸ’Ύ Save changes.
  6. πŸ”— Go to your repository’s Settings > Pages and set the Custom domain to yourdomain.com.

πŸ“š References πŸ“–

πŸ“œ License πŸ”

This project is licensed under the MIT License.


πŸŽ‰ Enjoy building and deploying your own website! βœ¨πŸš€πŸŽ¨

About

Personal portfolio website showcasing various programming projects (React, Python, etc.) πŸŒŸπŸš€βœ¨πŸ’»πŸ“š.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published