refactor: Change views
This commit is contained in:
committed by
Benedikt Rötsch
parent
3f6efdf750
commit
3373ff282d
20
services/contentful.js
Normal file
20
services/contentful.js
Normal file
@@ -0,0 +1,20 @@
|
||||
const { createClient } = require('contentful')
|
||||
|
||||
const client = createClient({space: process.env.CF_SPACE, accessToken: process.env.CF_ACCESS_TOKEN})
|
||||
|
||||
export function getCourses () {
|
||||
// TODO
|
||||
}
|
||||
|
||||
export function getLessons (courseId) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
export function getCategories () {
|
||||
// TODO
|
||||
}
|
||||
|
||||
export function getCoursesByCategory (category) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user