Skip to content

bhoyarapurva23399/task-manager-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Manager API (Flask)

🧠 Project Overview

This project is a simple Task Manager API built using Flask.
It allows users to perform basic CRUD (Create, Read, Update, Delete) operations on tasks. The API is tested using Thunder Client or Postman to simulate requests.

This project is designed to demonstrate how REST APIs work using Flask.
It helps in understanding key concepts such as routing, endpoints, HTTP methods, and JSON responses — all essential for backend or full-stack development.


⚙️ Features

✅ Add new tasks
✅ Retrieve all tasks
✅ Mark tasks as complete or incomplete
✅ View tasks using GET requests
✅ Simple and lightweight Flask backend


🔧 Technologies Used

  • Python
  • Flask
  • Thunder Client (for testing APIs)
  • VS Code

📸 Project Screenshots

🟢1️⃣ Run Flask Server

Run Server

🟡2️⃣ Initial GET Request (Empty Task List)

Empty Task List

🔵3️⃣ POST Request (Create Task)

Create Task

🔴4️⃣ GET Request (After Adding Task)

After Adding Task

🚀 How to Run

  1. Clone this repository

    git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY-NAME.git
    
    
  2. Install dependencies:

      pip install flask
  3. Run the app:

      python main_api.py
  4. Open Thunder Client / Postman

     http://127.0.0.1:5000/tasks

💼 Author

Apurva Bhoyar

Aspiring Data Analyst & Python Developer


💻 Commit and push to GitHub

git add .
git commit -m "Added project screenshots and updated README"
git push origin main

🔗 API Endpoints

Method Endpoint Description
GET /tasks Retrieve all tasks
POST /tasks Add a new task
PUT /tasks/<id> Update a task by ID
DELETE /tasks/<id> Delete a task by ID

Example Task JSON

{
  "id": 1,
  "title": "Learn Flask",
  "completed": false
}

🔮 Future Enhancements

Add user authentication (login/signup)

Connect the API to a real database like SQLite or MySQL

Build a simple frontend using HTML or React to interact with the API

Host the API on Render or Vercel

About

A lightweight Flask REST API for managing tasks efficiently — featuring CRUD endpoints, JSON responses, and Thunder Client testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages