Skip to content

jtgsystems/stcatharines-computers

Repository files navigation

St. Catharines Computers - Modern Website

A complete rebuild of stcatharinescomputers.com using modern web technologies.

🚀 Tech Stack

  • Framework: Next.js 15 (App Router)
  • UI Library: Material UI (MUI) v6
  • Styling: Tailwind CSS v3
  • Language: TypeScript
  • Database: PostgreSQL
  • ORM: Prisma
  • Forms: React Hook Form + Zod
  • Authentication: NextAuth.js
  • Deployment: Vercel

📋 Features

  • 🎨 Modern, responsive design with Material UI + Tailwind
  • ⚡ Lightning-fast performance with Next.js 15
  • 🔍 SEO optimized with Next.js metadata API
  • 📱 Mobile-first responsive design
  • 🖼️ Optimized image handling with Next.js Image
  • 📝 Content management ready
  • 📧 Contact form with email notifications
  • 🔒 Secure and scalable architecture

🛠️ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • PostgreSQL database

Installation

  1. Clone the repository:
git clone https://github.com/jtgsystems/stcatharines-computers.git
cd stcatharines-computers
  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env.local

Edit .env.local with your database credentials and other configurations.

  1. Set up the database:
npx prisma migrate dev
npx prisma generate
  1. Run the development server:
npm run dev

Open http://localhost:3000 to see the site.

📁 Project Structure

stcatharines-computers/
├── app/                    # Next.js app directory
│   ├── api/               # API routes
│   ├── components/        # React components
│   ├── lib/              # Utility functions
│   ├── types/            # TypeScript types
│   └── page.tsx          # Home page
├── prisma/               # Database schema and migrations
├── public/               # Static assets
├── scripts/              # Migration and utility scripts
├── next.config.ts        # Next.js configuration
├── tailwind.config.ts    # Tailwind CSS configuration
└── tsconfig.json         # TypeScript configuration

🔄 Migration from WordPress

Content Export

Run the WordPress export script:

chmod +x scripts/export-wordpress.sh
./scripts/export-wordpress.sh

This will export:

  • All posts and pages
  • Categories and tags
  • Media references
  • SEO metadata

Content Import

After exporting, run the import script:

npm run migrate:content

🚢 Deployment

Deploy to Vercel

  1. Push your code to GitHub
  2. Import your repository in Vercel
  3. Configure environment variables
  4. Deploy!

Vercel will automatically:

  • Build your Next.js application
  • Set up edge functions for API routes
  • Configure CDN for static assets
  • Provide SSL certificates

📚 Documentation

🔧 Development Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLint
npm run migrate      # Run database migrations

📊 Performance Goals

  • Lighthouse Score: 90+
  • First Contentful Paint: < 1.5s
  • Time to Interactive: < 3.5s
  • Core Web Vitals: All passing

🤝 Contributing

This is a private project for St. Catharines Computers.

📝 License

Copyright © 2025 JTG Systems. All rights reserved.

📞 Contact

For support or inquiries:


Built with ❤️ by JTG Systems

About

Modern rebuild of stcatharinescomputers.com with Next.js, Material UI, and Tailwind CSS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors