Skip to content

Instantly share code, notes, and snippets.

@vencax
Created May 6, 2021 17:25
Show Gist options
  • Save vencax/4e65ab6348b127118a9b09e3a727bf32 to your computer and use it in GitHub Desktop.
Save vencax/4e65ab6348b127118a9b09e3a727bf32 to your computer and use it in GitHub Desktop.
API:
routes:
- path: '/login'
component: Login
name: 'login'
cfg:
url: http://test.vxk.cz/login/
sources:
- mutabor
- tstabor
- path: '/events'
component: EntityList
name: 'event_list'
cfg:
label: Události
url: http://test.vxk.cz/api/events/
conf: http://test.vxk.cz/api/_events/config.json
- path: '/posts'
component: EntityList
name: 'post_list'
cfg:
label: Článečky
url: http://test.vxk.cz/api/posts/
conf: http://test.vxk.cz/api/_posts/config.json
# - path: '/files'
# component: FileList
# name: 'file_list'
- path: '/ts_places'
component: EntityList
name: 'ts_place_list'
cfg:
label: Místa
url: http://test.vxk.cz/api/ts_places/
conf: http://test.vxk.cz/api/_ts_places/config.json
- path: '/filetags'
component: EntityList
name: 'ts_filetags'
cfg:
label: Tagy Souborů
url: http://test.vxk.cz/api/filetags/
conf: http://test.vxk.cz/api/_filetags/config.json
- path: '/web'
component: WebEditor
name: 'webeditor'
cfg:
label: Editor Stránek
routesUrl: http://localhost:3000/routes.json
apiUrl: http://localhost:3000/api/
dataUrl: http://localhost:3000/data/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment