Skip to content

fwdr/vercel-python-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vercel Python Name Greeter

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.

Features

  • Clean, responsive UI
  • Python backend using Vercel Serverless Functions
  • Simple form that accepts a name and returns a greeting

Local Development

  1. Clone this repository:
git clone <your-repo-url>
cd vercel-python-app
  1. Install dependencies:
pip install -r requirements.txt
  1. For local testing, you can use Vercel CLI:
npm i -g vercel
vercel dev

Deployment

This project is configured for easy deployment on Vercel:

  1. Push your code to a Git repository
  2. Import your project to Vercel
  3. Vercel will automatically detect the configuration and deploy your app

Project Structure

  • /api: Contains the Python serverless function
    • index.py: Handles the HTTP requests
  • /public: Contains static files
    • index.html: Main HTML file
    • styles.css: CSS styles
    • script.js: JavaScript for handling form submission
  • vercel.json: Vercel configuration file
  • requirements.txt: Python dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors