Skip to content

hayksaakian/cms-on-sails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS on Sails

A content management system built on top of JavaScript, using Sails.js

  1. download the repository

    git clone https://github.com/hayksaakian/cms-on-sails.git cd cms-on-sails

  2. get started:

    npm install

  3. 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

What is this?

a Sails application

sails new blog --linker sails generate model Article title:string content:string sails generate controller Article index show new edit

...

Profit!

business

authentication slugs for urls

controller

CRUD article CRUD comment override, and add redirects

models

article comment page

views

article: index, show, form, edit/new, partials (comment/article) page: index, show, form, edit/new, partials -- markdown editor

prepare database for prod

add relevant database adaptor via npm set options in connections.js choose adaptor in models.js

todo:

authorization for page editing remove epic editor altogther

About

CMS written with sails.js -- primarily used for my personal site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published