Just a simple RESTful API with koajs.
- Fork/clone
- Install dependencies
- Seed Data -
npm run seed - Run -
npm start - Test -
npm test
| Route | HTTP Verb | Action |
|---|---|---|
| movies | GET | Get all movies |
| movies/:id | GET | Get a single movie |
Examples:
- http://localhost:1337/movies
- http://localhost:1337/movies?s=test
- http://localhost:1337/movies/4