How to use webiny-api-cms - 2 common examples

To help you get started, we’ve selected a few webiny-api-cms examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webiny / webiny-js / packages / demo-api / src / api.js View on Github external
import config from "./configs";
import { api } from "webiny-api";
import { app as cmsApp } from "webiny-api-cms";
import myApp from "./myApp";

api.configure(config())
    .use(cmsApp())
    .use(myApp());

export default api;
github webiny / webiny-js / examples / api / src / install.js View on Github external
require("babel-register");
const config = require("./configs");
const { api } = require("webiny-api");
const { default: myApp } = require("./myApp");
const { app: cmsApp } = require("webiny-api-cms");

api.configure(config())
    .use(myApp())
    .use(cmsApp())
    .install();

webiny-api-cms

The API for the Webiny CMS (webiny-app-cms) app.

MIT
Latest version published 5 years ago

Package Health Score

57 / 100
Full package analysis

Popular webiny-api-cms functions

Similar packages