issues
search
SR-crew
/
blog-application
0
stars
0
forks
source link
API endpoint: /posts to get list of posts
#22
Closed
sabit990928
closed
1 year ago
sabit990928
commented
1 year ago
Closes #21 issue
What
This PR introduces the following:
new route for listing posts
/api/posts
context file which returns list of posts
controller file for posts with index action
tests for controller and context
factory to generate posts in test environment
seed file enhancement to generate local posts data
Closes #21 issue
What
This PR introduces the following:
/api/posts