GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - adouwt/nodejsAPI: serve: express, Js 版本: es6, dataBase: mongodb,redis; 实现了一个完整的nodejs 增删改查的功能

BranchesTags
Open more actions menu

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
controllers
controllers
 
 
core
core
 
 
db
db
 
 
models
models
 
 
routes
routes
 
 
utils
utils
 
 
.babelrc
.babelrc
 
 
.eslintignore
.eslintignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.sh
build.sh
 
 
chat.html
chat.html
 
 
deploy.yaml
deploy.yaml
 
 
nodeChat.js
nodeChat.js
 
 
nodeServer.js
nodeServer.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

express-es6 api

MVC express 的服务,用了如下技术

  • express
  • mongoose
  • babel-cli
  • winston and morgan for logging
  • Async/Await

Installation

Clone the repository and run npm install

git clone https://github.com/adouwt/nodejsAPI.git
npm install

Starting the server

npm start

Starting the dataBase

npm run startdb (如果没有对应文件,新建一个存放数据的文件)

The server will run on port 4000. You can change this by editing core/config/config.dev.js file.

Run server in production with pm2

1.npm run build
2.将项目中dist 文件,上传到服务器
3.npm install
4.pm2 start serve.js
or
1、sh build.sh
2、解压dist.zip npm install
3、pm2 start serve.js

Todo

部署方式过于麻烦,需简化操作,一键完成

如果需要一个接口演示 就在这里快速写一个演示接口

图片上传,头像裁剪

About

serve: express, Js 版本: es6, dataBase: mongodb,redis; 实现了一个完整的nodejs 增删改查的功能

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.