Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

List posts by topic #2

Closed
bencagri opened this issue Aug 30, 2019 · 0 comments
Closed

List posts by topic #2

bencagri opened this issue Aug 30, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bencagri
Copy link
Owner

as a Developer;

I need to create a route GET /{topic-name}
I should create a method to list posts in post controller.
I should look for topicModel.slug in db.
If I dont find any topic, end-user should see 404 not found page.
If I find topic, end user see posts with pagination.

I need to use, post service, post repository and post model

@bencagri bencagri added enhancement New feature or request help wanted Extra attention is needed labels Aug 30, 2019
bencagri added a commit that referenced this issue Sep 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant