https://github.com/ambilisunil/flask_start
This project is a simple Task Manager application built using Flask and MongoDB. It demonstrates how to structure a Flask application with Blueprints, handle CRUD (Create, Read, Delete) operations, and integrate a NoSQL database. Key Features: Flask Blueprints: Modular route handling (home.py, user.py).
https://github.com/ambilisunil/flask_start
api flask flask-blueprints html mongodb pongo python todo
Last synced: 2 months ago
JSON representation
This project is a simple Task Manager application built using Flask and MongoDB. It demonstrates how to structure a Flask application with Blueprints, handle CRUD (Create, Read, Delete) operations, and integrate a NoSQL database. Key Features: Flask Blueprints: Modular route handling (home.py, user.py).
- Host: GitHub
- URL: https://github.com/ambilisunil/flask_start
- Owner: ambilisunil
- Created: 2025-04-02T18:01:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-02T18:11:33.000Z (over 1 year ago)
- Last Synced: 2025-07-10T15:19:12.392Z (12 months ago)
- Topics: api, flask, flask-blueprints, html, mongodb, pongo, python, todo
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README.md
Explanation of Files
### **1️⃣ `server.py` (Simple Flask App)**
A single-file Flask application demonstrating basic routes and form handling.
### **2️⃣ `app.py` (Flask App with Blueprint Routing)**
- Uses **Blueprints** to modularize routes.
- Registers `home.py` and `user.py`.
- Runs on `http://127.0.0.1:5000/`
### **3️⃣ `todoapp.py` (MongoDB Integrated Todo App)**
- Uses **MongoDB** to store and manage tasks.
- Implements **CRUD operations** (Add, View, Delete tasks).
- Uses `todo.html` as the frontend template.
Flask MongoDB Todo App
This repository contains a simple Flask-based Task Manager application with MongoDB integration.
The project demonstrates how to structure a Flask app with modular routes, use MongoDB as a database, and create basic CRUD functionalities.
---
## 🎯 API Routes
| Route | Method | Description |
|---------------------|---------|-------------|
| `/` | GET | Home Page |
| `/user/` | GET | Displays user profile |
| `/form` | GET/POST | Handles form input |
| `/api/data` | GET | Returns sample API response |
| `/add` | POST | Adds a task to MongoDB |
| `/delete/` | GET | Deletes a task from MongoDB |
---