Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React App Connects with FastAPI server #101

Closed
wants to merge 8 commits into from

Conversation

KevinEverywhere
Copy link
Collaborator

The TSX files that used axios to call the FastAPI server have been edited to ensure the right URL is called.

@KevinEverywhere
Copy link
Collaborator Author

The simplest way to test this branch is to docker compose down, docker compose build and docker compose up. You still have to go to /imls, but most of the ongoing linkages are in place.

@KevinEverywhere KevinEverywhere marked this pull request as ready for review November 5, 2024 04:43
@KevinEverywhere
Copy link
Collaborator Author

KevinEverywhere commented Nov 5, 2024

image
image
image
image

@cclauss cclauss added connectivity demo Demonstrate connectivity to education resources user interface Front-end work, GUI labels Nov 5, 2024
@cclauss
Copy link
Collaborator

cclauss commented Nov 6, 2024

pushd fe2
echo "REACT_APP_API_URL=http://localhost:5001" > .env
nvm use 20
npm install && npm run build:dev &&  npm run docker:build
popd
docker compose down && docker compose build && docker compose up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connectivity demo Demonstrate connectivity to education resources user interface Front-end work, GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants