Skip to content

noah-alvarado/alvarado-dev

Repository files navigation

alvarado-dev

A modern React + Vite web application with Firebase Hosting and CI/CD deployment scripts.

Features

  • ⚡️ Fast development with Vite
  • ⚛️ React for UI development
  • 🎨 Tailwind CSS for styling
  • 🧹 Linting with ESLint
  • 🔥 Firebase Hosting for production and preview deployments
  • 🛠️ Automated deployment script (deploy.sh) for QA and Production
  • 📦 Optimized images for performance

Getting Started

Prerequisites

Installation

yarn install

Development

yarn dev

The app will be available at https://localhost:2727.

Linting & Code Quality

yarn lint
# or to auto-fix
yarn lint:fix

Building for Production

yarn build

Deployment

QA/Preview:

yarn deploy:qa

Deploys to a Firebase preview channel and prints the preview URL.

Production:

yarn deploy:prod

Prompts for confirmation before deploying to production.

Image Optimization

Optimized images are stored in public/optimized/. This process is automatic as a part of the build process. See optimize-images.mjs for details.

Project Structure

/ (root)
├── deploy.sh                # Deployment script
├── optimize-images.mjs      # Image optimization script
├── public/                  # Static assets
├── src/                     # Source code
│   ├── components/          # React components
│   ├── pages/               # Page components
│   ├── assets/              # Image assets
│   └── styles/              # CSS/JS styles
├── package.json             # Project metadata and scripts
├── tailwind.config.js       # Tailwind CSS config
├── vite.config.js           # Vite config
└── README.md                # This file

License

This software and its source code are proprietary and confidential. No part of this codebase may be copied, reproduced, distributed, or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without the express written permission of the copyright holder.

Unauthorized use, reproduction, or distribution of this code, or any portion of it, is strictly prohibited.

About

https://alvarado.dev

Resources

License

Stars

Watchers

Forks

Languages