GithubHelp home page GithubHelp logo

koa-server's Introduction

koa2-server

koa2 + mongoose 搭建的服务器端,package.json 中有很多多余的模块,我是准备用于整合redux的,这个代码是备忘使用的,所以会package.json会有点乱,后期会慢慢整理。

Install Dependencies

npm install

Start

npm start

mongodb 数据库

启动数据库

  1. 进入mongodb的安装路径 bin下;(我的路径是的 D:\mongodb\mongodb\bin
  2. 执行启动命令 mongod --dbpath D:\mongodb\data(此路径为数据库路径);此时数据库已经启动;

命令行操作数据库

  1. 进入mongodb的安装路径 bin下;(我的路径是的 D:\mongodb\mongodb\bin
  2. 执行命令 mongo 即可进入命令行操作命令;

ESLint

项目结构

参考资料

koa-server's People

Contributors

minhuaf avatar

Stargazers

 avatar  avatar

Watchers

 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.