- 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.
- Angular.js based front-end (Still to come - Currently jQuery)
- Consumes REST api and dynamically creates UI
- User module built
git clone https://github.com/jpotts18/json-cms.gitnpm install- move configuration template
mv config.js-template config.js - update connection string and configs
- 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.jsornpm start
- if you want to rebuild the database
- After running go to this address:
http://localhost:7890/pageis my proof of concept currentlyhttp://localhost:7890/api/pages/1/commentshttp://localhost:7890/api/pages/1/blocks
- Drop me a line or pull request or @jpotts18 on twitter