iAMSagar44 / todo-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full-Stack Application with React, Spring Boot, and MySQL

Getting Started

You should be familiar with the following technologies:

Prerequisites

  • Node.js version 16.0 or higher
  • Java 17 or higher
  • Docker Engine or Docker Desktop

Running the application

To run the application, you need to start the backend and the frontend. You can do this by running each application in a separate terminal.

  • Running it locally using H2 in memory database

    • Update application.properties with spring.profiles.active=local, and run the following commands in the Terminal

    • cd backend
      ./mvnw spring-boot:run
    •  cd frontend
       npm install
       npm start
  • Running it on an environment using Docker

    • Update application.properties with spring.profiles.active=dev, and run the following commands in the Terminal

    •  cd backend
       docker-compose up
       # This runs the mysql container and then the app container. Ensure you update the docker-compose file with the app's image.

About


Languages

Language:Java 50.1%Language:JavaScript 35.7%Language:HTML 10.8%Language:CSS 3.4%