Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement endpoints #1

Open
8 of 10 tasks
rlanier-webdev opened this issue Jun 14, 2024 · 0 comments
Open
8 of 10 tasks

Implement endpoints #1

rlanier-webdev opened this issue Jun 14, 2024 · 0 comments

Comments

@rlanier-webdev
Copy link
Contributor

rlanier-webdev commented Jun 14, 2024

Task Management Web App API Endpoints

Authentication Endpoints

  • 1. Register User

    • Endpoint: /auth/register
    • Method: POST
    • Description: Register a new user.
  • 2. Login User

    • Endpoint: /auth/login
    • Method: POST
    • Description: Login to the application and obtain a JWT token.

User Endpoints

  • 1. Get User Profile

    • Endpoint: /users/profile
    • Method: GET
    • Description: Retrieve the profile of the logged-in user.
    • Authorization: Bearer Token (JWT)
  • 2. Update User Profile

    • Endpoint: /users/profile
    • Method: PUT
    • Description: Update the profile of the logged-in user.
    • Authorization: Bearer Token (JWT)

Task Endpoints

  • 1. Get All Tasks

    • Endpoint: /tasks
    • Method: GET
    • Description: Retrieve all tasks for the logged-in user.
    • Authorization: Bearer Token (JWT)
  • 2. Get Task by ID

    • Endpoint: /tasks/:id
    • Method: GET
    • Description: Retrieve a specific task by ID.
    • Authorization: Bearer Token (JWT)
  • 3. Create New Task

    • Endpoint: /tasks
    • Method: POST
    • Description: Create a new task.
    • Authorization: Bearer Token (JWT)
  • 4. Update Task by ID

    • Endpoint: /tasks/:id
    • Method: PUT
    • Description: Update an existing task by ID.
    • Authorization: Bearer Token (JWT)
  • 5. Delete Task by ID

    • Endpoint: /tasks/:id
    • Method: DELETE
    • Description: Delete a task by ID.
    • Authorization: Bearer Token (JWT)
  • 6. Get Tasks by Status

    • Endpoint: /tasks/:status
    • Method: GET
    • Description: Retrieve a tasks by Status.
    • Authorization: Bearer Token (JWT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant