An open API service indexing awesome lists of open source software.

https://github.com/ssysm/restcms

A Lightweight, RESTful API CMS system
https://github.com/ssysm/restcms

cms cms-framework rest-api rest-cms

Last synced: about 1 year ago
JSON representation

A Lightweight, RESTful API CMS system

Awesome Lists containing this project

README

          

# REST CMS
A Lightweight, Simple, RESTful API CMS system

## Setup

## Dependencies
- MongoDB v3.4+
- NodeJS v9.3.0+

### Configuration
- Copy `config.js.example` to `config.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`
### Run

#### Run API Server
(No `npm install`,assume you did everything in [Configuration](#configuration))

$ npm run start

API Server Listen @ port `3000` (Port can be changed in `/bin/www`)

#### Compile API Documentation

$ cd docs
$ npm install
$ npm run build

Compiled API Documentation @ `/docs/index.html`