Skip to content

SopraIt/an-introduction-to-node-and-express

Repository files navigation

An introduction to Node.js and express.js

Welcome to An introduction to Node.js and express.js.

The course covers:

Here you can find what the course aims to create.

Development

npm install

# optional
npm run build

npm start

🐝 API

[GET] /articles

curl https://soprasteria--intro-to-express.herokuapp.com/api/v1/articles

[GET] /articles/:id

curl https://soprasteria--intro-to-express.herokuapp.com/api/v1/articles/2

[PATCH] /articles/:id

curl -H "Content-Type: application/json" -d '{"like": false}' -X PATCH https://soprasteria--intro-to-express.herokuapp.com/api/v1/articles/2