Giter Site home page Giter Site logo

gobang's Introduction

react_demo 为前端源码

将 react_demo/src/socket/index.js 里面的 ip 修改为你的 ip 或者 域名。 '/socket' 是服务端的接口地址,这个如果改了也需要在 websocket/src/router/socketRouter/index.js 修改get方法的地址

修改完后 执行 yarn install 安装依赖 并 yarn build 打包,将打包后build文件夹下的所有文件,复制到 websocket/dist 文件夹下面,dist文件夹需要自己手动新建

websocket 为后端源码

进入到websocket目录下,执行 npm install 安装依赖

npm start 或 node ./src/app.js 启动项目,然后浏览器访问你的 ip + 8083 或 http://localhost:8083 即可

gobang's People

Contributors

omgcx1222 avatar

Stargazers

陈思全 avatar chandou avatar

Watchers

 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.