/booksAPI

Primary LanguageJavaScript

booksAPI

My first node API! Enjoy!

Setup

Just clone this repository and setup with command: download node js

run "npm install" in terminal inside the folder

then

"npm start"

this will run locally in port 3001 or 3000

this api also is deployed in heroku

https://vinicius-mesquita.herokuapp.com/books

enjoy!

Structure example

  {
    "title": "Viuvinha",
    "description": "",
    "author": "José de Alencar",
    "owner_id": 1,
    "thumbnail":"https://a.wattpad.com/cover/128016084-288-k33824.jpg",
    "history_id":[],
    "status": "false"
  }