This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
docker build -t task_manager_ui_image D:/projects/oracle-interview/ui/react-frontend
docker run -it -d -p 3000:3000 -e REACT_APP_SERVER_URL='localhost:8080' --name task_manager_ui task_manager_ui_image
We exposed port 3000
REACT_APP_SERVER_URL is the URL that points to the TaskManagerAPI
This will run both the task_manager_api and task_manager_ui
cd /home/opc
sudo docker compose up -d
http://localhost:3000/tasks
docker push sin.ocir.io/axxinayytj1b/task_manager_ui_image:latest
ssh -i D:/projects/oracle-interview/ssh-key-2022-07-22.key [email protected]
sudo docker pull sin.ocir.io/axxinayytj1b/task_manager_ui_image:latest
sudo docker run -it -d -p 3000:3000 --name task_manager_ui sin.ocir.io/axxinayytj1b/task_manager_ui_image:latest
This will run both the task_manager_api and task_manager_ui
cd /home/opc
sudo docker compose up -d
138.2.89.23:3000/tasks