https://github.com/prisma-cms/society-module
https://github.com/prisma-cms/society-module
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/prisma-cms/society-module
- Owner: prisma-cms
- Created: 2018-11-12T09:50:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-25T13:12:07.000Z (about 6 years ago)
- Last Synced: 2025-10-04T18:44:59.657Z (8 months ago)
- Language: JavaScript
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
## Society module for [@prisma-cms](https://github.com/prisma-cms)
### Usage
#### Standalone
Download module
```
git clone https://github.com/prisma-cms/society-module
cd society-module
```
Install dependencies
`yarn install`
Update module schema
`./society-module/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} APP_SECRET={STRONG_APP_SECRET} 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:3000
Note that *society-module* should work on port 4000 or configure [proxySetup](https://github.com/prisma-cms/component-boilerplate/blob/master/src/setupProxy.js).