GithubHelp home page GithubHelp logo

lottery's Introduction

lottery 抽奖转盘 本项目使用 React-Koa2 框架进行了抽奖转盘的实现

一、项目启动

# 安装依赖
$ npm install

# 启动项目
$ npm run start

# windows 环境下启动项目(无法一次运行多个命令)
$ npm run server
$ npm run dev

# 编译项目
$ npm run build

项目启动成功后,可以在 locahost:8180 进行本地开发
npm run build 编译成功,可以在本地服务器locahost:3000/dist 访问打包结果

二、目录结构

lottery
|—— build                   webpack文件配置
│     ├── webpack.dev.js      基本配置文件
│     ├── webpack.common.js   公用配置文件
|—— front                   前端
│     ├── page                html页面
│     ├── src                 源代码
│     │     ├── assets          静态资源
│     │     ├── component       组件资源
│     │     ├── index.js        前端入口文件
|—— server                  服务端
│     ├── bin                 启动文件
│     ├── public              静态资源
│     ├── routes              路由文件
│     ├── app.js              服务端入口

lottery's People

Contributors

gofzy avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.