雲端原生系統開發與維運-第 12 組
| 系級 | 姓名 | 備註 |
|---|---|---|
| 資碩工二 | 管漢程 | 組長 |
| 資碩工一 | 陳昶安 | |
| 資碩工一 | 劉鎮宇 | |
| 資管碩一 | 楊凱旭 |
Welcome to the frontend of Work Traveler! This project is built using React and Vite, and is designed to provide a responsive, user-friendly interface for the Work Traveler platform.
To get started, clone the repository and install the necessary dependencies.
- Node.js 18.x or later
- Git
git clone https://github.com/Harris0716/cloud12.git
-
Go to the directory:
cd frontend -
Install dependencies:
npm install
- Run the development server:
npm run dev
This will start the Vite development server, and you can access the application at http://localhost:3000/
-
Go to the directory:
cd backend -
Install dependencies:
npm install
- Run the node.js server:
node server.js
This will start the Vite development server, and you can access the application at http://localhost:8000/
-
Ensure you install docker in your computer
-
Go to the directory
cd backend-
Create a directory called db-init under your desktop and place your sql file name "init.sql" under "db-init" directory. (In the init.sql file, you can write sql like create table...)
-
Type
docker compose upin your terminal and you will see both mysql container and backend service container run.