Skip to content

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).

Notifications You must be signed in to change notification settings

ambilisunil/flask_start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/<name> 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/<task_id> GET Deletes a task from MongoDB

About

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).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published