Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 570 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 570 Bytes

Express + SQLite + JavaScript example integration

  1. Install dependencies via yarn or npm install
  2. Run via yarn start or yarn start:dev (nodemon)
  3. Example API is running on localhost:3000

Available routes:

GET     /author        finds all authors
GET     /author/:id    finds author by id
POST    /author        creates new author
PUT     /author/:id    updates author by id
GET     /book          finds all books
GET     /book/:id      finds book by id
POST    /book          creates new book
PUT     /book/:id      updates book by id