A Lightweight, RESTful API CMS system
A Lightweight, Simple, RESTful API CMS system
config.js.example
to config.js
config.js
database
:MongoDB Connection URI, default:mongodb://localhost:27017/restcms
jwtSecret
:Secret for JWT Token, default:restcms
HIGHLY RECOMMEND TO CHANGE THIS DUE TO SECURITY ISSUE!npm install
node migrate.js
(No npm install
,assume you did everything in Configuration)
$ npm run start
API Server Listen @ port 3000
(Port can be changed in /bin/www
)
$ cd docs
$ npm install
$ npm run build
Compiled API Documentation @ /docs/index.html