Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prisma-cms/surveymonkey-module
https://github.com/prisma-cms/surveymonkey-module
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/prisma-cms/surveymonkey-module
- Owner: prisma-cms
- Created: 2020-03-05T15:49:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T01:48:19.000Z (over 4 years ago)
- Last Synced: 2024-09-23T17:39:03.776Z (about 2 months ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
## Module boilerplate server for [@prisma-cms](https://github.com/prisma-cms)
### 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](https://github.com/prisma-cms/boilerplate#readme))
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](https://github.com/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](https://github.com/prisma-cms/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:3000Note that *module-boilerplate* should work on port 4000 or configure [proxySetup](https://github.com/prisma-cms/component-boilerplate/blob/master/src/setupProxy.js).