Open rugved0102 opened 1 month ago
Greetings @rugved0102🎀 ! , We are excited to have you dive into another issue with us!🚀 Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.
/gssoc24
Brief Description 🤓
In this project, Flask is used to build a RESTful API for a Task Manager application. The API provides endpoints for performing basic CRUD (Create, Read, Update, Delete) operations on tasks. This includes functionalities such as adding new tasks, retrieving a list of tasks, updating task details, and deleting tasks. Flask’s simplicity and modularity make it an ideal choice for developing this application.
How It Is Used
Endpoints: Flask routes are defined to handle different HTTP requests:
GET /tasks: Retrieves a list of all tasks. POST /tasks: Adds a new task with a title and description. PUT /tasks/: Updates the details of an existing task identified by task_id.
DELETE /tasks/: Deletes a task identified by task_id.
Request Handling: Flask's request object is used to handle incoming data and query parameters. The jsonify function is employed to format responses in JSON format.
Server Setup: Flask runs a development server to serve the API, which is accessible via http://127.0.0.1:5000.
Provide reference!
Flask API documentation : https://flask.palletsprojects.com/en/3.0.x/api/
Select the open source program you are contributing to
Other
Code of Conduct