- Project video repository with HTTP methods
- get All
- get by Id
- post
$ npm install
$ npm run dev
$ npm run test
app.route('/')
.get((req, res, next) => {
res.json({ message: 'Welcome to Video repository' });
app.route('/api/videos')
app.route('/api/videos/:id')
-
- payload Example
[ { "id": 5, "url": "http://video4", "description": "video4" } ]