Skip to content

The Flask To-Do API is a lightweight RESTful service built with Flask, enabling users to manage tasks. It supports creating, updating, retrieving, and deleting tasks, with SQLAlchemy for database management. 🚀

Notifications You must be signed in to change notification settings

nsrawat0333/todo-list-Flask-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask To-Do List APP

The Flask To-Do App is a simple yet powerful web application that allows users to create, manage, and track their daily tasks. Built using the Flask framework, this app provides a user-friendly interface to add, view, update, and delete tasks with minimal setup and high flexibility.

FLASK (TO-DO LIST API) DEMO -

https://flash-api-1lzg.onrender.com/ API Interface

Documentation

Flask Documentation

Bootstrap Documentation

  • Setup

  • Create project with virtual environment

$ mkdir myproject
$ cd myproject
$ python3 -m venv venv 
  • Activate it
$ . venv/bin/activate

or on Windows

venv\Scripts\activate
  • Install Flask
$ pip install Flask
$ pip install Flask-SQLAlchemy
  • Initialize the Database
>>from app import db
>>db.create_all()
  • Run the Flask application
$ python app.py
  • Deployment

  • Render Deployment web app

  • Set up your Flask application

  • requirements.txt file

pip freeze > requirements.txt

  • Create a Procfile in the root of your project
echo "web: python app.py" > Procfile

  • Set up Git
git init
git add .
git commit -m "Initial commit"

  • Sign up and log in to Render
  • Create a new Web Service
  • Set the Environment
  • Deploy

Acknowledgements

  • Flask for providing a lightweight and powerful framework to build web applications and APIs.
  • Flask-SQLAlchemy for integrating SQLAlchemy with Flask, simplifying database management.
  • Jinja for enabling dynamic HTML rendering with templates in Flask.
  • Inspired by Krish Naik's Udemy course on Machine Learning for providing valuable insights into coding best practices.
  • Followed the official documentation for Flask, SQLite, and Jinja to implement key features.
  • Referenced answers and solutions from community-driven sites like Stack Overflow to resolve common issues and improve the app’s functionality.

Authors

[Neeraj] (https://www.github.com/nsrawat0333) - Initial project setup and development.

Logo

About

The Flask To-Do API is a lightweight RESTful service built with Flask, enabling users to manage tasks. It supports creating, updating, retrieving, and deleting tasks, with SQLAlchemy for database management. 🚀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published