Skip to content

hemantdhivar/json-cms

This branch is up to date with jpotts18/json-cms:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b1a9a88 · Jan 10, 2013

History

13 Commits
Jan 10, 2013
Jan 10, 2013
Jan 10, 2013
Jan 9, 2013
Jan 10, 2013
Jan 10, 2013
Jan 10, 2013
Jan 10, 2013
Jan 10, 2013

Repository files navigation

JSON CMS

Why is it Useful?

  • Follows RESTful prinicples and by consuming API through JSON.
  • Removes HTML from CMS data by abstracting into blocks. Allows client to parse and style data as needed.
  • Node.js backend uses REST calls to populate database.

Client Side Javascript Library

  • Angular.js based front-end (Still to come - Currently jQuery)
  • Consumes REST api and dynamically creates UI
  • User module built

To run:

  1. git clone https://github.com/jpotts18/json-cms.git
  2. npm install
  3. move configuration template mv config.js-template config.js
  4. update connection string and configs
  5. start the server
    • if you want to rebuild the database node server.js rebuild
    • if you want to run the server normally it is node server.js or npm start
  6. After running go to this address:
    • http://localhost:7890/page is my proof of concept currently
    • http://localhost:7890/api/pages/1/comments
    • http://localhost:7890/api/pages/1/blocks

To contribute:

  • Drop me a line or pull request or @jpotts18 on twitter

About

node html-less CMS project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • CSS 1.4%