https://github.com/siddhesh321995/cmsone-website
CMS One Website
https://github.com/siddhesh321995/cmsone-website
cms nodejs website
Last synced: 2 months ago
JSON representation
CMS One Website
- Host: GitHub
- URL: https://github.com/siddhesh321995/cmsone-website
- Owner: siddhesh321995
- License: mit
- Created: 2020-09-07T12:44:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T16:38:29.000Z (over 5 years ago)
- Last Synced: 2026-04-28T00:34:51.845Z (2 months ago)
- Topics: cms, nodejs, website
- Language: JavaScript
- Homepage:
- Size: 934 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CMS One Website
> Simple light weight node-express based CMS Website
[](https://travis-ci.com/siddhesh321995/cmsone-website)

## Installation:
```
npm install cmsone-website --save
```
```
const { Main } = require('cmsone-website');
```
## Serverside setup
```
const express = require('express');
const app = express();
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'
}
});
// Setup custom error pages
Main.setErrorPages(app);
```
## Clientside setup
- Copy and Paste public folder to your public root directory
- Specify valid API_URL from `public\js\environment.js`
- Add auth.json with any authkey at data/ folder. (this key will be used while configuring CMS from GUI)
- Navigate to `/admin` from browser to complete setup using GUI.
```
```
## Features:
- Works with express.js and mongo as database.
- Provides features like Tracking.
- Easily extend by writing your APIs.
- Contact Us, News letter management, Custom error pages etc.
- Works best with [CMS One API](https://github.com/siddhesh321995/cmsone-api) (backend helper for your CMS)