Permalink
Browse files

Updated README.md and added homepage.

  • Loading branch information...
marcomontalbano committed Oct 5, 2018
1 parent 684a7cd commit 19a8f4e1295d74e3bd41f42f2a7c938cffd4c4cf
Showing with 2,872 additions and 41 deletions.
  1. +45 −1 README.md
  2. +2,707 −32 package-lock.json
  3. +24 −6 package.json
  4. +2 −0 public/.gitignore
  5. +26 −0 public/_index.html
  6. +63 −0 public/main.css
  7. +5 −2 server.js
View
@@ -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
```
Oops, something went wrong.

0 comments on commit 19a8f4e

Please sign in to comment.