Skip to content

jpotts18/json-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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