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

Messaging feature #1

Merged
merged 18 commits into from
Aug 27, 2021
Merged

Messaging feature #1

merged 18 commits into from
Aug 27, 2021

Conversation

aliyamerali
Copy link
Owner

@aliyamerali aliyamerali commented Aug 27, 2021

Changes

  • Add functionality and happy/sad path specs for post '/api/v1/messages' to create new messages based on input parameters in the body:

    • recipient_id (required)
    • sender_id (required)
    • content (required)
  • Add functionality and happy/sad path specs for get '/api/v1/messages' to retrieve messages based on parameters in the query string:

    • recipient_id (required)
    • sender_id (optional, all senders returned if nil)
    • limit (required, accepted values: ["100", "30d"]

Checklist

  • Tests written
  • All tests passing
  • SimpleCov at 100%

@aliyamerali aliyamerali merged commit 757bac1 into main Aug 27, 2021
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.

None yet

1 participant