API - Get all books #2

Closed
opened 2021-11-05 23:36:08 -04:00 by a258wang · 0 comments
Owner

Create an API endpoint to get a list of all books in the library catalogue.

The endpoint should accept GET requests.
The response should be a JSON array of all books. Include the following information about each book:

  • id
  • title
  • authors
  • isbn

For now, use the testing database in this repo to query the information. (We will eventually change this to use the actual library catalogue database on the CSC servers.)

Some potentially helpful resources:

Create an API endpoint to get a list of all books in the library catalogue. The endpoint should accept GET requests. The response should be a JSON array of all books. Include the following information about each book: - id - title - authors - isbn For now, use the testing database in this repo to query the information. (We will eventually change this to use the actual library catalogue database on the CSC servers.) Some potentially helpful resources: - https://nextjs.org/docs/api-routes/introduction - https://www.sqlitetutorial.net/sqlite-nodejs/
a258wang added the
Backend
label 2021-11-05 23:57:23 -04:00
a258wang self-assigned this 2021-11-14 17:48:31 -05:00
a258wang referenced this issue from a commit 2022-02-23 00:17:03 -05:00
Sign in to join this conversation.
No Label
Backend
Frontend
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: www/library#2
No description provided.