Learn how to build a RESTful API using Node.js and Express.js. Install the necessary tools, create the endpoints, and deploy the API to Heroku.
Table of contents
RequirementsInstallationImplementationInstalling ExpressPlanning the APICreating the stats data structureNow let’s begin with the GET method.Next, let’s create a POST method to create a new player.Now for updating a player’s stats with a PUT methodFinally let’s create a DELETE method to remove the player’s statsTesting the APIDeploying to HerokuConclusion5 Comments
Sort: