Skip to content

calebjeffery/DockerReactAndSpringbootNginxApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DockerReactAndSpringbootNginxApp

This repository contains the code and instructions for setting up a learning project based on the Codeching YouTube videos. The project combines Docker, React, Spring Boot, and Nginx to create a full-stack web application.

Prerequisites

Before getting started, make sure you have the following installed:

  • Docker Desktop For Windows or Docker
  • Node.js
  • Java Development Kit (JDK)
  • Maven

Setup Instructions

Follow the steps below to set up the project:

  1. Clone the repository:

    git clone https://github.com/calebjeffery/DockerReactAndSpringbootNginxApp.git
  2. Change into the project directory:

    cd DockerReactAndSpringbootNginxApp
  3. Build the React frontend:

    cd springbootreact
    npm install
    npm run build
  4. Build the Spring Boot backend:

    cd ../springtest
    mvn clean install
  5. Build the Docker images and start the containers:

    cd ..
    docker-compose -f .\docker-compose.yaml up --build

    This command will build and run the Docker containers for the frontend, backend, and Nginx.

  6. Once the containers are up and running, you can access the application in your web browser at http://localhost:3000.

Resources

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published