This repository is a fork of reactjs-labs, enhanced with Axios to enable REST API calls. The Spring-Boot-Labas project serves as the REST API for this application.
The goal is to integrate the frontend and backend using Axios, and then deploy all components on a Kubernetes cluster by creating Kubernetes objects. These Kubernetes objects will define the desired state of our deployment.
The following repositories are part of this project:
- Backend: Spring-Boot-Labas
- Frontend: reactjs-axios-labs - A ReactJS version with API calls using Axios, utilizing the REST API created in the Spring-Boot-Labas project.
- A ReactJS version without API calls can be found at reactjs-labs.
- Integration: Minikubes-Labs
To set up and run this project, you will need:
Start the application using the npm start
command. Log in to the admin portal with username: admin
and password: admin
. To access the user portal, log in with username: user
and password: user
.
To start the frontend, run the following command:
npm start
Log with the user created as admin, or create a user in the main page