https://github.com/sescobb27/hacker_aggregator
https://github.com/sescobb27/hacker_aggregator
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sescobb27/hacker_aggregator
- Owner: sescobb27
- Created: 2018-07-04T21:12:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T22:45:33.000Z (almost 7 years ago)
- Last Synced: 2025-01-31T11:16:29.569Z (4 months ago)
- Language: Elixir
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HackerAggregator
To start your Phoenix app:
* Install dependencies with `mix deps.get`
* Start Phoenix endpoint with `mix phoenix.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
## API
```
stories_path GET /api/stories HackerAggregator.StoriesController :index
stories_path GET /api/stories/:id HackerAggregator.StoriesController :show
```## Pagination
```
stories_path GET /api/stories?from=last_story_id HackerAggregator.StoriesController :index
```