For this challenge, you'll clone the starter repo, install express, setup a static server and create 2 endpoints to serve Notes. The starter repo contains a simple in-memory database with sample data and a client application to demonstrate the API.
- Clone and setup the starter repo
- Install
express
and setup astart
command - Implement an Express static server
- Create 2 GET endpoints:
- GET notes returns a list of notes. If a search term is provided it returns a filtered list, otherwise it returns a full list of notes.
- GET a note by ID returns a specific note based on the ID provided.