A simple web application that asks for a user's name and greets them. Built with a Python backend and a simple HTML/CSS/JS frontend, deployed on Vercel.
- Clean, responsive UI
- Python backend using Vercel Serverless Functions
- Simple form that accepts a name and returns a greeting
- Clone this repository:
git clone <your-repo-url>
cd vercel-python-app- Install dependencies:
pip install -r requirements.txt- For local testing, you can use Vercel CLI:
npm i -g vercel
vercel devThis project is configured for easy deployment on Vercel:
- Push your code to a Git repository
- Import your project to Vercel
- Vercel will automatically detect the configuration and deploy your app
/api: Contains the Python serverless functionindex.py: Handles the HTTP requests
/public: Contains static filesindex.html: Main HTML filestyles.css: CSS stylesscript.js: JavaScript for handling form submission
vercel.json: Vercel configuration filerequirements.txt: Python dependencies