1.1.28 • Published 3 years ago

cmsone-api v1.1.28

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

CMS One API

Simple light weight node-express based API wrapper

Build Status Node.js CI Coverage Status

Installation:

  • Add auth.json with any authkey at data/ folder. (this key will be used while configuring CMS from GUI)
  • Add emails.json with noreply email and noreplyName title at root directory. (Open sample emails.json for ref)
npm install cmsone-api --save

Setup your API

const express = require('express');
const app = express();
const { Main } = require('cmsone-api');

Main.setup(app, {
    production: {
        MONGODB_CONNECTION: 'mongodb+srv://XXXX:XXXX@XXXX-XXXX.mongodb.net/XXXX',
        HAS_CERT: false,
        DATABASE_NAME: 'XXXX',
        EMAILID: 'XXXX@gmail.com',
        EMAIL_PASSWORD: 'password'
    }
});

Features:

  • Works with express.js and mongo as database.
  • Provides basic APIs like Admin, Tracker, Analysis, NewsLetters etc.
  • Easily extend by writing your APIs
  • Works best with CMS One website (fronend helper for your CMS)
1.1.28

3 years ago

1.1.27

3 years ago

1.1.26

3 years ago

1.1.25

4 years ago

1.1.23

4 years ago

1.1.22

4 years ago

1.1.24

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.19

4 years ago

1.1.18

4 years ago

1.1.21

4 years ago

1.1.20

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.1

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago