Skip to content

Coding-RoMa/custom-subscription-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Flask Custom Subscription Form

A simple Flask application that allows users to subscribe using their email. The app is hosted on PythonAnywhere.

Features

Customizable subscription form. SQLite3 database for storing subscriber emails. API endpoint to retrieve all subscribers.

Getting Started

These instructions will guide you on how to run this project locally and on PythonAnywhere.

Prerequisites

Python 3.x Flask SQLite3

Running Locally

Clone this repository:

git clone https://github.com/Coding-RoMa/custom-subscription-form.git cd custom-subscription-form

Install the required packages:

pip install Flask

Run the app:

python app.py Visit http://127.0.0.1:5000/ in your browser to view the app.

Deploying on PythonAnywhere

Create an account on PythonAnywhere. Open the Bash console on PythonAnywhere.

Clone the repository:

git clone https://github.com/Coding-RoMa/custom-subscription-form.git

Navigate to the Web tab and set up a new web app. Configure the app to point to the app.py file in your repository. Reload the app. Visit your PythonAnywhere URL to see the live app.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.