Skip to content

Commit

Permalink
Updated README.md and added homepage.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Oct 5, 2018
1 parent 684a7cd commit 19a8f4e
Show file tree
Hide file tree
Showing 7 changed files with 2,872 additions and 41 deletions.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,46 @@
# an-introduction-to-node-and-express
An introduction to Node.js and express.js
=========================================

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

The course covers:

- [RESTful](https://hackernoon.com/restful-api-design-step-by-step-guide-2f2c9f9fcdbf)
- [Node.js](https://nodejs.org/en/) basics
- [Express](https://github.com/expressjs/express) basics
- Storing with [lowdb](https://github.com/typicode/lowdb)

[Here](https://soprasteria--intro-to-express.herokuapp.com/) you can find what the course aims to create.


## Development

```sh
npm install

# optional
npm run build

npm start
```


## 🐝 API

__*[GET]*__ /articles

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

__*[GET]*__ /articles/:id

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

*__[PATCH]__* /articles/:id

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

0 comments on commit 19a8f4e

Please sign in to comment.