/reactjs-axios-labs

Primary LanguageJavaScriptMIT LicenseMIT

React JS Axios Labs

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.

Repositories

The following repositories are part of this project:

  1. Backend: Spring-Boot-Labas
  2. Frontend: reactjs-axios-labs - A ReactJS version with API calls using Axios, utilizing the REST API created in the Spring-Boot-Labas project.
  3. Integration: Minikubes-Labs

Requirements

To set up and run this project, you will need:

  1. ReactJS
  2. NodeJS
  3. Axios
  4. Minikube
  5. Spring Boot
  6. Java
  7. A database (e.g., MySQL)

Firebase

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.

Running the Application

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