https://github.com/rahul-vinay/captcha-trial
This Flask application implements CAPTCHA verification to confirm user authenticity before form submission. Using Flask-Session and Flask-Session-Captcha, it securely manages sessions with MongoDB integration for persistent session storage
https://github.com/rahul-vinay/captcha-trial
captcha-verification flask-framework flask-session mongodb
Last synced: 3 months ago
JSON representation
This Flask application implements CAPTCHA verification to confirm user authenticity before form submission. Using Flask-Session and Flask-Session-Captcha, it securely manages sessions with MongoDB integration for persistent session storage
- Host: GitHub
- URL: https://github.com/rahul-vinay/captcha-trial
- Owner: rahul-vinay
- Created: 2024-10-29T18:10:25.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-10-29T18:17:38.000Z (8 months ago)
- Last Synced: 2025-01-28T14:51:48.073Z (5 months ago)
- Topics: captcha-verification, flask-framework, flask-session, mongodb
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Captcha Trial
A simple Flask application that demonstrates CAPTCHA verification using Flask, Flask-Session, and Flask-Session-Captcha. This project integrates MongoDB for session management.
## Project Structure
## Features
- **CAPTCHA Verification**: Ensures that users are human before submitting forms.
- **MongoDB Integration**: Manages session data in MongoDB for persistent storage.
- **Flask-Session**: Utilizes server-side sessions to securely store session data.## Requirements
- Python 3.11
- Flask
- Flask-Session
- Flask-Session-Captcha
- pymongo (for MongoDB)
- MongoDB (running on localhost)## Setup and Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/your-username/captcha_trial.git
cd captcha_trial2. **Install Dependencies**
```bash
pip install -U Flask Flask-Session Flask-Session-Captcha pymongo3. **Run MongoDB (if it isn't running already)
- Ensure MongoDB is installed and running on localhost:270174. **Run the Application**
```bash
python app.py5. **Access the Application**
- Open your browser and go to http://localhost:5000
6. **Usage**
- Visit the form at the route (/).
- Fill in the CAPTCHA to verify that you are human.
- Submit the form to see success or failure message.