Dev logs - WEHI-RCPStudentInternship/data-commons GitHub Wiki
Framework decision made: Firstly the app was set up using create-react-app (CRA) with an express backend server. This initial setup has several issues, mainly associated with CRA on the client side. The client side then moved to use Vite after futile attempts to fix issues relating to multiple copies of React being in one project and local path issues
17/04/2024: Search box does not do autocomplete, render in a static manner
17/04/2024: Header default contains search box, which needs to be removed in case of log in page.
17/04/2024: Add conditional render to search box.
17/04/2024: Both input boxes are only text boxes, no authorisation functionality has been implemented, despite the password box hiding the password via asterisks.
23/04/2024: Clone the project onto VM, set up apache2
24/04/2024: Apache2 only render index.html and couldn't reverse proxy to react side routing.
30/04/2024: Switch over to nginx for reverse proxy
01/05/2024: Modified port that node server runs on due to port 3000 being busy, modified URL of fetch request in front end components (remove port number) and changed proxy_pass in nginx config from localhost:3000 to 127.0.0.1:3001
01/05/2024: 0.0.0.0/view/:id can't be access directly due to 0.0.0.0/api/datasets being carried from 0.0.0.0/dataset