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

Feature: api endpoints and db #5

Merged
merged 3 commits into from
Feb 4, 2024
Merged

Conversation

tsengyushiang
Copy link

@tsengyushiang tsengyushiang commented Feb 3, 2024

Changed

  • Add mongodb, mongo-express to save task info.
  • API Endpoints:
    • GET /api/admin/tasks: Retrieve all tasks.
    • GET /api/task: Retrieve a specific task.
    • DELETE /api/task: Mark a task as deleted.
    • POST /api/task: Execute a task.
    • PUT /api/task: Update a task result with a new image.

@tsengyushiang tsengyushiang changed the title Feature: api endpoints Feature: api endpoints and db Feb 4, 2024
@tsengyushiang tsengyushiang merged commit d115434 into dev Feb 4, 2024
@tsengyushiang tsengyushiang deleted the feature-api-endpoints branch February 4, 2024 04:53
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

Successfully merging this pull request may close these issues.

1 participant