This is a simple Task Management Api written in .NET 7
I've used following techniques to build the solution.
- Maintained clean architecture
- Used Repository and UnitOfWork Pattern
- Added Unit test (thats not sufficient though)
Improvement Areas: Nothing is best in softwae engineering. There always a scope to improve. This the basic improvement areas
- Couldn't get a change to refactor the code.
- Add more validation which inserting data into the database
- Add more unit tests (as much as possible)
- Authentication/Authorization
- Error Looging
Here are the endpoints below
-
Get All Tasks (GET) https://localhost:7058/Task/GetAll
-
Find Task By Id (GET) https://localhost:7058/Task/GetById/1
-
Delete Task By Id: (POST) https://localhost:7058/Task/Delete
-
Create new task (POST) https://localhost:7058/Task/create
-
Update existing task (POST) https://localhost:7058/Task/update
Sample Task Object: { Id= 0, Title = "Demo Task", Status = "Pending", Description = "Test Description", DueDate = DateTime.Now, };
How to Run the project:
- Please clone the repository
- Open it in Visual studio
- Make a build
- Change the connection string
- Run update-database command
------------Thank you--------------