Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 681 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 681 Bytes

blog-api

This is a api interface of the CMS system, using express and mongodb, I started learning nodejs and non-relational databases through this simple project, I hope it can help others.

config

  • Replace the configuration in the "conf/database.js" file with your configuration
  • Replace the variable "admin" in "init.js" with the one you want

install

npm install

If you are running this project for the first time, you also need to use the following command to initialize some data.

node init.js

run

npm start

description

Supported front-end projects, please move to https://github.com/WindWen/angular-blog-static