https://github.com/hyper63/webcms
cms api for hyper website
https://github.com/hyper63/webcms
Last synced: about 1 year ago
JSON representation
cms api for hyper website
- Host: GitHub
- URL: https://github.com/hyper63/webcms
- Owner: hyper63
- Created: 2021-05-05T20:07:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T20:13:31.000Z (almost 5 years ago)
- Last Synced: 2025-01-13T05:41:35.671Z (about 1 year ago)
- Language: JavaScript
- Size: 241 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
hyper website cms
## API
### FAQs
* GET /api/faqs - list all faqs
* POST /api/faqs - create faq document
* GET /api/faqs/:id - get single faq
* PUT /api/faqs/:id - update
* DELETE /api/faqs/:id - delete faq
## Models
### FAQ Document
- id - unique identifer
- type - 'faq'
- question - string
- answer - string
- tags - string[]
- created - date ISO....
- updated - date ISO...
## architect
* api - handles request and response
* core - business logic (No SideEffect Zone)
-- Responsible for Schema Validation
-- Responsible for calculations
-- Responsible error handling
* services - data, search, etc
// middleware core = createCore(services)