Skip to content

singer0503/TicketSystem

Repository files navigation

TicketSystem

目前的結果

動畫2.gif

目錄結構說明

TicketSysTem-目錄架構圖.png

vue-ticket-system 前端程式碼 (Vue.js 2)

TicketSystem 後端程式碼 (Net Core 3.1)

SQLscript 該資料夾存放建立 SQL 所需的 Script

Quick start 快速開始

請檢查您的 Node 以及 npm 以及 dotnet Core 的版本, Node版本 > 10.5 , npm > 6.8 , dotnet core = 3.1

複製一份至本地端 git clone

git clone https://github.com/singer0503/TicketSystem

設定後端與 SQL Server 資料庫連接字串,設定檔案 appsettings.json

cd TicketSystem
vim appsettings.json

Sample: Data Source=(computer name)\\SQLEXPRESS;Initial Catalog=TicketSystem;User ID=username;Password=password;

後端執行套件還原 using dotnet cli restore package

cd TicketSystem
dotnet restore TicketSystem.csproj

執行後端專案 backend start

dotnet run

返回至前端目錄執行套件還原

cd ..
cd vue-ticket-system
npm install

設定連接後端 .Net Core 的 URL webpack.config.js

//...在最下方
externals: {
    // global app config object
    config: JSON.stringify({
        //apiUrl: 'http://localhost:4000'
        apiUrl: 'https://localhost:44337'
    })
}

執行前端專案

npm start

程式架構說明

About

使用 Vue 2 + Net Core 3.1 + Dapper 製作的 TicketSystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published