Kubernetes Deploy Mysql Spring Rest Api React Native App Instructions
Kubernetes Deploy Mysql Spring Rest Api React Native App Instructions
https://github.com/sosereyboth/backend-api
https://github.com/sosereyboth/RNFrontEndApp
Requirements
To run this back-end API service on your machine, you have to install the
following softwares:
Git/Git Bash (Optional): for cloning source codes from the github.
Apache Maven : for building and compiling Java project.
Docker and Kubernetes : for deploying and running your application.
Technologies
This application was built from the following technologies:
Let's Start
cd backend-api
docker images
Then you'll see the image named "backend-api" with the tag "latest". We will
use this image to deploy on the kubernetes shortly.
http://localhost:30002/hello
Step 4: Testing APIs Using Postman
I've already put the postman testing specification in this project. The file
named "PostmanTests.zip". You can unzip this file and import into the
postman application.
https://github.com/sosereyboth/RNFrontEndApp
Requirements
To run this application on your machine, you have to install the following
softwares:
Git/Git Bash (Optional): for cloning source codes from the github.
Node JS : for building and compiling source code.
iOS simulator for Mac or Android Emulator for Android
Technologies
This application was built from the following technologies:
Let's Start
Step 1: Cloning Project
On your machine, open the terminal or git bash and then run this command
to clone the project from the git hub:
cd RNFrontEndApp
code .
Now edit the file named "axios.js" under the folder "/api" by defining the
"baseURL" as the IP of the machine which is running your back-end API
service (in this case the kubernetes machine). For example, baseURL:
'http://192.168.1.8:30002'
Remember: The 30002 port number is the Kubernetes service port on which
the back-end service was deployed.
I think now it's time to run the application. To do it, open a terminal on the
VSCode editor, and type this command:
npm install
Then
Username: user1
Password: pwd1
https://morioh.com/redirect?
id=5ed76745f0e6056e36306f57&own=5ebce777b6b21709213b471c&l=https%3A%2F
%2Fwww.callicoder.com%2Fdeploy-spring-mysql-react-nginx-kubernetes-persistent-volume-
secret%2F