@prisma-cms/mc.js-module

1.2.2 • Public • Published

mc.js modul for @prisma-cms

Powered by https://github.com/ian13456/mc.js

Usage

Standalone

Download module

git clone https://github.com/prisma-cms/module-boilerplate
cd module-boilerplate

Install dependencies

yarn install

Update module schema

./module-boilerplate/src/modules/schema/ (see instruction)

Deploy schema to prisma-server

endpoint={NEW_PRISMA_ENDPOINT} yarn deploy

Start server

endpoint={CREATED_PRISMA_ENDPOINT} yarn start

Open in brouser http://localhost:4000

Use as module for @prisma-cms/boilerplate

Just add as module in mergeModules here: https://github.com/prisma-cms/boilerplate/blob/master/src/server/modules/index.mjs

Component-boilerplate usage as front-end for module.

git clone https://github.com/prisma-cms/component-boilerplate
cd component-boilerplate
yarn
yarn start

Open in brouser http://localhost:3000

Note that module-boilerplate should work on port 4000 or configure proxySetup.

Package Sidebar

Install

npm i @prisma-cms/mc.js-module

Weekly Downloads

2

Version

1.2.2

License

MIT

Unpacked Size

36.6 MB

Total Files

1035

Last publish

Collaborators

  • fi1osof