A content management system built on top of JavaScript, using Sails.js
-
download the repository
git clone https://github.com/hayksaakian/cms-on-sails.git cd cms-on-sails
-
get started:
npm install
-
lift your sails
sails lift
Now you're good to go!
You can modify your configuration by logging into the website and editing the admin panel
a Sails application
sails new blog --linker sails generate model Article title:string content:string sails generate controller Article index show new edit
...
Profit!
authentication slugs for urls
CRUD article CRUD comment override, and add redirects
article comment page
article: index, show, form, edit/new, partials (comment/article) page: index, show, form, edit/new, partials -- markdown editor
add relevant database adaptor via npm set options in connections.js choose adaptor in models.js
authorization for page editing remove epic editor altogther