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

Fetch user notifications #60

Merged
merged 1 commit into from Sep 19, 2019
Merged

Fetch user notifications #60

merged 1 commit into from Sep 19, 2019

Conversation

Emile-Nsengimana
Copy link
Contributor

What does this PR do?

  • Fetch all notifications for a specific user who has logged in the system

Description of Task to be completed?

  • Users should be able to see their notifications

How should this be manually tested?

  • First clone it to your machine:
https://github.com/andela/ah-lobos-backend.git
  • Open it using your favorite IDE, I recommend (vs code)

  • Install all necessary node modules

npm install
  • Run
npm run dev
  • Use Postman to test out the following endpoints

API ENDPOINTS

API Methods Description
/api/notifications GET fetch user notifications

You should see an image avatar on your profile if you didn't set it

Any background context you want to provide?

  • Create .env file with the help of example.env

What are the relevant pivotal tracker stories?

  • N/A

Screenshots

  • N/A

Questions

  • N/A

  - will return all user notification
@j4l13n j4l13n merged commit 4fc1162 into develop Sep 19, 2019
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

3 participants