- Option 1: Download and install from MySQL official site
- Option 2: Install via Chocolatey:
choco install mysql -y
- Install via Homebrew:
brew install mysql
sudo apt update
sudo apt install mysql-server -y
net start mysql
brew services start mysql
sudo systemctl start mysql
Login to MySQL and run the script
mysql -u root < be\src\main\resources\todo_list_schema.sql
choco install maven -y
brew install maven
sudo apt install maven -y
- Navigate to the backend directory
cd be
- Clean and install dependencies
mvn clean install -U
- Start the application
mvn spring-boot:run
Download from Node.js official site or install via package managers.
brew install node
sudo apt install nodejs npm -y
- Navigate to the frontend directory:
cd todo_fe
- Install dependencies:
npm install
- Start the frontend server:
npm run dev
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 |
After running the backend and frontend, access the application:
- Backend (Spring Boot API):
http://localhost:8080
- Frontend (React/Angular/Vue):
http://localhost:5173