Basic Single-Page-Application CMS script built using Node, React, Mongo, and ElasticSearch.
Three processes are used
- App
- API
- DB worker
Build upon the idea of configurable data structures. Each data structure is known as a structure and each document within the structure is an entry.
- Small text input
- A number
- Checkbox
- Textarea
- Picture file upload
- A link to another page, which will require a title and a URL
- A WYSIWYG Editor
- A datepicker
- An embeddable Youtube Video
- A reference to another Entry. This can be an Entry of any Structure Type. The Entry’s Title, Blurb, and Type will be displayed on the Entry Page.
- A downloadable file. This will be a file that the user uploads, which will get zipped up. Readers may then download the zip file.
- Create, Update, Delete structures
- Create, Update, Delete entries
- Promote Users to admin
- Signup & Login
- Comment
- Favorite
- Download zip or
git clone https://github.com/danielheyman/CMS-Script.git
- Install mongodb (
brew install mongodb
) - Install elasticsearch (
brew install elasticsearch
) - Run
npm install
- Optional: Run
npm run seed
to get sample data to play around with - Run
npm start
to run the script - Visit
http://localhost:3000/