Skip to content

JelinkovaTera/TODO-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README: Setup & Run Application

** Step 1: Setup & Run the Database (MySQL)**

1. Install MySQL

Windows

  • Option 1: Download and install from MySQL official site
  • Option 2: Install via Chocolatey:
    choco install mysql -y

macOS

  • Install via Homebrew:
    brew install mysql

Linux (Ubuntu/Debian)

sudo apt update
sudo apt install mysql-server -y

2. Start MySQL Server

Windows

net start mysql

macOS (Homebrew)

brew services start mysql

Linux

sudo systemctl start mysql

3. Run SQL Script to Create the Database

Login to MySQL and run the script

mysql -u root < be\src\main\resources\todo_list_schema.sql

** Step 2: Run the Backend (Spring Boot)**

1. Install Maven

Windows

choco install maven -y

macOS

brew install maven

Linux

sudo apt install maven -y

2. Build and Run the Spring Boot Application

  1. Navigate to the backend directory
    cd be
  2. Clean and install dependencies
    mvn clean install -U
  3. Start the application
    mvn spring-boot:run

** Step 3: Run the Frontend**

1. Install Node.js & npm

Windows

Download from Node.js official site or install via package managers.

macOS (Homebrew)

brew install node

Linux

sudo apt install nodejs npm -y

2. Install Frontend Dependencies

  1. Navigate to the frontend directory:
    cd todo_fe
  2. Install dependencies:
    npm install
  3. Start the frontend server:
    npm run dev

** Summary of Commands**

Step Windows macOS Linux
Install MySQL choco install mysql brew install mysql sudo apt install mysql-server
Start MySQL net start mysql brew services start mysql sudo systemctl start mysql
Run SQL Script mysql -u root < todo_list_schema.sql mysql -u root < todo_list_schema.sql mysql -u root < todo_list_schema.sql
Install Maven choco install maven brew install maven sudo apt install maven
Run Backend mvn clean install && mvn spring-boot:run mvn clean install && mvn spring-boot:run mvn clean install && mvn spring-boot:run
Install Node.js & npm choco install nodejs brew install node sudo apt install nodejs npm
Run Frontend npm install && npm run start npm install && npm run start npm install && npm run start

** Application URLs**

After running the backend and frontend, access the application:

  • Backend (Spring Boot API): http://localhost:8080
  • Frontend (React/Angular/Vue): http://localhost:5173

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published