Project-Books / book-project

Book tracker web app for book lovers
https://project-books.github.io/
GNU General Public License v3.0
476 stars 456 forks source link

Frontend not able to connect to talk to backend #947

Closed knjk04 closed 2 years ago

knjk04 commented 2 years ago

Describe the bug

I am able to log in on the frontend, but the other endpoints are failing. Error message:

Syntax error: JSON.parse: unexpected character at line 1 column 1 of JSON data

To Reproduce Steps to reproduce the behaviour:

  1. Run the app
  2. Log in with the test user credentials (you can find the credentials in the README)
  3. See the error

Expected behaviour

A list of books should show in the shelf and list view.

Screenshots

image

Your system

Tell us your:

If it's frontend-related, tell us which

Additional context

Add any other context about the problem here (e.g. stack trace, branch name, commit hash, etc.).

priya1712d commented 2 years ago

yes! feel free to assign this to me @knjk04