Developed by:
Kaíque Freire dos Santos
This project is an API for managing tasks, developed using Entity Framework and C#.
Task Management:
Create, read, update, and delete tasks.User Authentication:
Secure user login and registration.Task Assignment:
Assign tasks to different users.Status Tracking:
Track the status of tasks (e.g., pending, in progress, completed).
- .NET Core
- Entity Framework Core
- SQL Server
- JWT for authentication
- Clone the repository:
git clone https://github.com/kaiquefreire05/apiTaskSystem.git
- Navigate to the project directory:
cd apiTaskSystem
- Restore dependencies:
dotnet restore
- Update the connection string in
appsettings.json
:
"ConnectionStrings": {
"DefaultConnection": "Your SQL Server connection string"
}
- Apply migrations:
dotnet ef database update
- Run the application:
dotnet run
- POST /api/account
- GET api/Cep
- GET api/Task
- POST api/Task
- DELETE api/Task
- GET api/Task/{id}
- PUT api/Task/{id}
- GET api/User
- POST api/User
- GET api/User/{id}
- PUT api/User/{id}
- DELETE api/User
POST /api/tasks
Content-Type: application/json
Authorization: Bearer {token}
{
"id": 0,
"name": "string",
"desc": "string",
"status": 0,
"userId": 0,
"user": {
"id": 0,
"name": "string",
"email": "string"
}
}
GET /api/tasks
Authorization: Bearer {token}
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -am 'Add new feature
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.