An API using Express with a couple of RESTful endpoints which return either an array of data, or a single item
https://rautellin-express-api.herokuapp.com/
- How to build an API in Node using Express
- How to install and setup an Express server
- How to create routes in Express
- Practice data manipulation in JavaScript - selecting, filtering, and limiting arrays
- How to deploy Node projects
- The api has a couple of RESTful endpoints which return either an array of data, or a single item
- The API have at least 2 routes - with a minimum of one to return a collection of results, and one to return a single result
- The API is deployed to Heroku
- The API is RESTful
- Implemented accepting filters via query parameters to filter the data you return from endpoints which return an array of data
- Implemented pagination using
.slice()
to return only a selection of results from the array - Implemented next and previous page for the pagination, such as maximum pages
- Implemented empty result when returning a single item and the item doesn't exist