my-webapp-hf / README.md
Deminiko
chore: fix HF YAML metadata and add comprehensive documentation
005e166
|
raw
history blame
1.27 kB
metadata
title: My Web App on Hugging Face Spaces
emoji: πŸš€
colorFrom: indigo
colorTo: yellow
sdk: docker
pinned: false
short_description: Full-stack web app with HTML, CSS, JS, and PHP

My Web App on Hugging Face Spaces

A full-stack web application with HTML, CSS, JavaScript, and PHP 8.2 running on Apache via Docker, auto-synced from GitHub.

Features

  • πŸ“„ Static HTML content
  • 🎨 Responsive CSS styling
  • ⚑ Interactive JavaScript
  • 🐘 PHP backend processing
  • 🐳 Dockerized with Apache
  • πŸ”„ Auto-sync from GitHub to Hugging Face

Technologies

  • HTML5
  • CSS3
  • JavaScript (Vanilla)
  • PHP 8.2
  • Apache Web Server
  • Docker

Local Development

Run with Docker

# Build the image
docker build -t my-webapp .

# Run the container
docker run -p 7860:7860 my-webapp

Visit http://localhost:7860

File Structure

.
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ README.md
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .dockerignore
└── public/
    β”œβ”€β”€ index.html
    β”œβ”€β”€ styles.css
    β”œβ”€β”€ script.js
    β”œβ”€β”€ api.php
    └── process.php

Deployment

This app is automatically deployed to Hugging Face Spaces from GitHub.

Live URL: https://huggingface.co/spaces/NLarchive/my-webapp-hf

License

MIT

Test