# deno_mvc **Repository Path**: wolf18/deno_mvc ## Basic Information - **Project Name**: deno_mvc - **Description**: Deno语言:一个简单的MVC案例 - **Primary Language**: TypeScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.wolfcode.net/info/219/ - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-01-26 - **Last Updated**: 2022-05-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 介绍 deno_mvc Deno初体验:一个简单的MVC案例 #### 软件架构 采用Deno语言 #### 安装教程 1. 安装 Deno > Deno 目前可以安装在 Windows、Linux、macOS 系统上,只支持 64 位系统,暂时不支持 32 位。 > 由于 Deno 只有 1 个可执行文件,没有任何第三方依赖,因此安装 Deno 非常简单。主流安装方式有: ###### macOS 和 Linux 系统上使用 shell: `curl -fsSL https://deno.land/x/install/install.sh | sh` ###### Windows 系统上使用 PowerShell: `iwr https://deno.land/x/install/install.ps1 -useb | iex` 2. 控制台输入 deno --version 检测版本号 3. deno run -A server.ts 启动服务 4. 访问 http://localhost:8000/index.html 浏览首页 ![项目入口文件](https://images.gitee.com/uploads/images/2021/0126/150020_73e6e3ab_517625.png "QQ截图20210126111416.png") #### demo说明 1. 主程序入口文件 server.ts 2. 项目公共资源文件 resources.ts 3. 数据库配置文件 cofig/database.ts 4. 静态资源文件 public/* ![首页样式预览](https://images.gitee.com/uploads/images/2021/0126/145923_2d7275da_517625.png "demo.png") #### 使用说明 如果需要接口服务,请连接好测试数据库,默认链接MySQL数据库