katarinasvedman-ms / agent-test

Testing the AI dev team repo
0 stars 0 forks source link

DevLead.Plan chain for #150 #152

Closed agent-app-kapeltol[bot] closed 3 months ago

agent-app-kapeltol[bot] commented 3 months ago

I'd like to build a typical Todo List Application: a simple productivity tool that allows users to create, manage, and track tasks or to-do items. Key features of the Todo List application include the ability to add, edit, and delete tasks, set due dates and reminders, categorize tasks by project or priority, and mark tasks as complete. The Todo List applications also offer collaboration features, such as sharing tasks with others or assigning tasks to team members. Additionally, the Todo List application will offer offer mobile and web-based interfaces, allowing users to access their tasks from anywhere. Use C# as the language. The app needs to be deployed to Azure, be highly performant, cost effective and secure, following the rules of Well Architected Framework.

katarinasvedman-ms commented 3 months ago

Nice!

agent-app-kapeltol[bot] commented 3 months ago

{ "steps": [ { "step": "1", "description": "Design the database schema for the application. This includes tables for users, tasks, projects and collaborations.", "subtasks": [ { "subtask": "Subtask 1", "description": "Design the users table", "prompt": "Write the SQL script to create a 'users' table in SQL Server with 'id', 'username', 'password', 'email', 'created_date' columns. The 'id' column should be the primary key." }, { "subtask": "Subtask 2", "description": "Design the tasks table", "prompt": "Write the SQL script to create a 'tasks' table in SQL Server with 'id', 'task_name', 'description', 'due_date', 'is_completed', 'user_id', 'project_id' columns. The 'id' column should be the primary key and 'user_id', 'project_id' should be the foreign keys." }, { "subtask": "Subtask 3", "description": "Design the projects table", "prompt": "Write the SQL script to create a 'projects' table in SQL Server with 'id', 'project_name', 'description', 'created_date', 'user_id' columns. The 'id' column should be the primary key and 'user_id' should be the foreign key." }, { "subtask": "Subtask 4", "description": "Design the collaborations table", "prompt": "Write the SQL script to create a 'collaborations' table in SQL Server with 'id', 'user_id', 'task_id' columns. The 'id' column should be the primary key and 'user_id', 'task_id' should be the foreign keys." } ] }, { "step": "2", "description": "Develop the API layer using C# and .NET Core. This includes endpoints for user registration, login, task creation, task modification, task deletion, project creation, project modification, project deletion and collaboration creation.", "subtasks": [ { "subtask": "Subtask 1", "description": "Develop the user registration and login endpoints", "prompt": "Write the C# code using .NET Core to create the user registration and login endpoints. The registration endpoint should accept username, password and email as input and return a success message upon successful registration. The login endpoint should accept username and password as input and return a JWT token upon successful authentication." }, { "subtask": "Subtask 2", "description": "Develop the endpoints for task operations", "prompt": "Write the C# code using .NET Core to create endpoints for task creation, modification and deletion. The task creation endpoint should accept task name, description, due date, user id and project id as inputs. The task modification endpoint should accept task id, task name, description, due date, user id and project id as inputs. The task deletion endpoint should accept task id as input." }, { "subtask": "Subtask 3", "description": "Develop the endpoints for project operations", "prompt": "Write the C# code using .NET Core to create endpoints for project creation, modification and deletion. The project creation endpoint should accept project name, description and user id as inputs. The project modification endpoint should accept project id, project name, description and user id as inputs. The project deletion endpoint should accept project id as input." }, { "subtask": "Subtask 4", "description": "Develop the collaboration creation endpoint", "prompt": "Write the C# code using .NET Core to create the collaboration creation endpoint. This endpoint should accept user id and task id as inputs." } ] }, { "step": "3", "description": "Develop web and mobile frontends using Xamarin. This includes screens for registration, login, task list, task creation, task modification, task deletion, project list, project creation, project modification, project deletion and collaboration creation.", "subtasks": [ { "subtask": "Subtask 1", "description": "Develop the registration and login screens", "prompt": "Write the C# code using Xamarin to create the registration and login screens. The registration screen should have fields for inputting username, password and email. The login screen should have fields for inputting username and password." }, { "subtask": "Subtask 2", "description": "Develop the task list, task creation, task modification and task deletion screens", "prompt": "Write the C# code using Xamarin to create the task list, task creation, task modification and task deletion screens. The task list screen should display a list of tasks. The task creation screen should have fields for inputting task name, description, due date, user id and project id. The task modification screen should have fields for inputting task name, description, due date, user id and project id. The task deletion screen should have a field for inputting task id." }, { "subtask": "Subtask 3", "description": "Develop the project list, project creation, project modification and project deletion screens", "prompt": "Write the C# code using Xamarin to create the project list, project creation, project modification and project deletion screens. The project list screen should display a list of projects. The project creation screen should have fields for inputting project name, description and user id. The project modification screen should have fields for inputting project name, description and user id. The project deletion screen should have a field for inputting project id." }, { "subtask": "Subtask 4", "description": "Develop the collaboration creation screen", "prompt": "Write the C# code using Xamarin to create the collaboration creation screen. This screen should have fields for inputting user id and task id." } ] }, { "step": "4", "description": "Deploy the application to Azure. This includes the database, API layer and frontend.", "subtasks": [ { "subtask": "Subtask 1", "description": "Deploy the database to Azure SQL Database", "prompt": "Write the Azure CLI script to create an Azure SQL Database and deploy the database schema to it." }, { "subtask": "Subtask 2", "description": "Deploy the API layer to Azure App Service", "prompt": "Write the Azure CLI script to create an Azure App Service and deploy the compiled .NET Core API application to it." }, { "subtask": "Subtask 3", "description": "Deploy the Xamarin frontend to the App Store and Google Play Store", "prompt": "Write a guide in markdown format detailing the steps required to submit the Xamarin application to the App Store and Google Play Store." } ] } ] }