Skip to content

Harris0716/cloud12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

133 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud12

雲端原生系統開發與維運-第 12 組

系級 姓名 備註
資碩工二 管漢程 組長
資碩工一 陳昶安
資碩工一 劉鎮宇
資管碩一 楊凱旭

Work Traveler - frontend

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.

Installation

To get started, clone the repository and install the necessary dependencies.

Prerequisites

  • Node.js 18.x or later
  • Git
  • git clone https://github.com/Harris0716/cloud12.git

Steps

  1. Go to the directory:

    cd frontend
  2. Install dependencies:

npm install
  1. Run the development server:
npm run dev

This will start the Vite development server, and you can access the application at http://localhost:3000/

Work Traveler - Backend

  1. Go to the directory:

    cd backend
  2. Install dependencies:

npm install
  1. 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/

Initialize backend server and database with docker compose

  1. Ensure you install docker in your computer

  2. Go to the directory

cd backend
  1. 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...)

  2. Type docker compose up in your terminal and you will see both mysql container and backend service container run.

About

雲端原生系統開發與維運-第12組

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages