A Lightweight, Simple, RESTful API CMS system
- MongoDB v3.4+
- NodeJS v9.3.0+
- Copy
config.js.example
toconfig.js
- Edit
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
- Default admin username:
admin
- Default admin password:
password
- Default admin username:
(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