Giter Site home page Giter Site logo

jelly's Introduction

抱歉本机没有关系型数据库环境,近期一直使用非关系型数据库开发 为了尽快提交demo,本次demo仍然使用mongodb

第一个API http://localhost:3000/start-level?level=2?uid=1000 两个参数 level是关卡等级 uid是角色id

第二个API http://localhost:3000/move?sessionId=4e9cdde7d4d461fe43bd4d7b9e9af7ef&row0=0&col0=1&row1=0&col1=2

提交中包含了node_modules,因此在mac环境下应该不需要再npm install

mongodb版本3.0.0

node版本v4.7.1

根目录下执行node app.js启动服务器

可以传递启动端口,启动多个服务,这样就可以通过nginx做负载均衡

jelly's People

Watchers

James Cloos avatar zc 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.