A RESTful API created to accompany the Chart Toppers UI. This server is written in JavaScript using Express and Node.js. This API contains data for the top 5 songs from the Billboard Year End chart for the years 1980 - 2021. Each song object contains an id, title, artist, and image url.
The netlify deployment can be accessed here
- clone down this repo
cd
into your local copy- run
npm install
- run
npm start
- JavaScript
- Express
- Node.js
- Netlify
Description | URL | Method | Required Properties for Request | Sample Successful Response |
---|---|---|---|---|
get all songs | https://chart-toppers-api.netlify.app/.netlify/functions/api | GET | none | an object containing all song data for the years 1980 - 2021 |