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

[Backend] As a user, I can upload the CSV file with keywords #9

Open
phongvhd93 opened this issue May 31, 2023 · 0 comments
Open

[Backend] As a user, I can upload the CSV file with keywords #9

phongvhd93 opened this issue May 31, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@phongvhd93
Copy link
Owner

phongvhd93 commented May 31, 2023

Why

Allow a user to upload a CSV file containing keywords.

Acceptance Criteria

  • Create a new table, search_result to store keywords and scraped data in the future.
  • Create a new endpoint: POST api/v1/upload
    • Request header: Authorization (bearer token)
    • Request body: using form data to upload the CVS
    • Return success with HTTP code 200
  • Validate the file (maximum number of keyword is 1000)

Resource

https://www.postman.com/postman/workspace/postman-answers/documentation/13455110-00378d5c-5b08-4813-98da-bc47a2e6021d

Image

@phongvhd93 phongvhd93 self-assigned this Jun 1, 2023
@phongvhd93 phongvhd93 added this to the 0.2.0 milestone Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant