Add a step-by-step guide on how to connect to the backend
Description
I'm attempting to run the project with yarn in development mode. However, I am unable to connect to the backend.
I followed the instructions from readme.md.
node -> v16.14.0 yarn -> v1.22.17
Screenshots

How localhost/repo/api/v2 will work? Can anyone please explain to me?.
Hi @akib22, do you have FOSSology Installed on your system?
No.
@akib22 One more thing that I would like to add is, once the FOSSology is up and running at the URL http://localhost:8081/repo. Then, you need to follow these two steps:
-
Setup CORS as instructed here
-
In the .env file of the FOSSologyUI project, assign the value of REACT_APP_SERVER_URL as:
REACT_APP_SERVER_URL=localhost:8081/repo/api/v1
PS: I used docker for installing FOSSology
Does it make sense to convert this issue to a GitHub discussion similar to https://github.com/fossology/fossology/discussions/1942 ?
@GMishx Yes, I think so, I tried everything but it didn't work for me. Maybe someone else can say what is the problem.
There is a fix proposed at https://github.com/fossology/fossology/pull/2195 for CORS.