Skip to content

Kresnananta/myWebsite

Repository files navigation

🎨 Kresnanta's Portfolio

React Vite Tailwind CSS Supabase Status

πŸ“ Short Description

A modern, responsive portfolio website showcasing web development skills and projects. Built with React, Vite, and Tailwind CSS to demonstrate expertise in full-stack development, UI/UX design, and modern web technologies. This personal portfolio serves as a professional online presence and platform to display completed projects.

Hero-preview



πŸ“ Project Structure

myWebsite/
β”œβ”€β”€ src/                              # Source code aplikasi React
β”‚   β”œβ”€β”€ component/                    # Komponen React reusable (navbar, hero, about, portfolio, dll)
β”‚   β”œβ”€β”€ assets/                       # Media files (gambar, SVG, dan aset visual lainnya)
β”‚   β”œβ”€β”€ lib/                          # Utilities dan library configurations (Supabase client)
β”‚   └── App.jsx, main.jsx, *.css      # Entry point dan styling global
β”œβ”€β”€ public/                           # Aset statis yang dilayani langsung ke browser
β”œβ”€β”€ supabase/                         # Supabase configuration dan edge functions
└── Root configs                      # Vite, Tailwind, ESLint, Docker, dan package configs

πŸš€ Installation Guide

Prerequisites

Local Setup (Steps)

  1. Clone the Repository

    git clone https://github.com/Kresnananta/myWebsite.git
    cd myWebsite
  2. Install Dependencies

    npm install
  3. Configure Environment Variables
    Create a .env file in the root directory:

    VITE_SUPABASE_URL=your_supabase_project_url
    VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
    
  4. Run Development Server

    npm run dev

Initial DB Setup

Login to Supabase and run the following query to create the table:

CREATE TABLE contacts (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(100), email VARCHAR(100),
  subject VARCHAR(200), message TEXT,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE projects (
  id INT AUTO_INCREMENT PRIMARY KEY,
  title VARCHAR(255) NOT NULL,
  description TEXT,
  tags VARCHAR(255),
  image_url TEXT,
  live_demo VARCHAR(255),
  source_code VARCHAR(255),
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

✨ Current Features

  • Smooth & modern UI with interactive components
  • Fully responsive design (mobile, tablet, desktop)
  • Dark mode toggle
  • Database for storing projects & contact form responses
  • Telegram notifications for contact form submissions
  • SEO optimized with proper metadata

πŸ“œ Available Scripts

Frontend Scripts (Vite)

Command Description
npm run dev Start development server with HMR
npm run build Build optimized production bundle in dist/
npm run preview Preview the production build locally

Supabase Edge Functions

Command Description
npx supabase functions serve Test Edge Functions locally
npx supabase functions deploy telegram-notify Deploy function to Supabase Cloud
npx supabase secrets list List all secrets stored in Cloud
npx supabase secrets set KEY=VALUE Set sensitive env vars (e.g. Telegram Token)

Docker & Backend

Command Description
docker-compose restart backend Restart node.js server after changes
docker logs -f web_porto_backend Monitor backend logs
docker logs -f web_porto_frontend Monitor frontend logs
"""

πŸ“ License

This project is a personal portfolio and is available for educational purposes.


πŸ“§ Contact & Connect

For inquiries or collaboration opportunities, feel free to reach out through the contact form on the website.


Last Updated: March 2026
Status: Production Version: 1.0.0 (Stable Release)

About

🟒 Kresnananta Personal Website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors