Add frontend and backend integration example
Mergeda3thakra merged 0 commits from
main2 years ago
Reference in new issue
There is no content yet.
Delete Branch 'adi-add-integration-example'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This MR adds an example component that interacts with the backend. This can serve as an example of how to integrate with the rest (pun intended) of the app.
This is what the example component looks like:
I think we should also scope all backend routes to
/api. This wouldn't require any change from the backend, but when deploying, we just need to make sure that the base url for the backend is "https://csclub.uwaterloo.ca/links/api". I also updated the client-server integration diagram to reflect this change. Here's the diagram:
CC @n3parikh for the backend change
changed the description
added 6 commits
3025ffce- 1 commit from branch
Compare with previous version
Thank you for setting this up for our dev env 💯
approved this merge request