https://github.com/dadi/publish-dev
Sample API + Publish installation for development purposes
https://github.com/dadi/publish-dev
Last synced: 5 months ago
JSON representation
Sample API + Publish installation for development purposes
- Host: GitHub
- URL: https://github.com/dadi/publish-dev
- Owner: dadi
- Created: 2018-07-03T10:18:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T11:10:34.000Z (almost 7 years ago)
- Last Synced: 2025-02-05T21:53:43.248Z (over 1 year ago)
- Language: Dockerfile
- Size: 563 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DADI Publish development
> Sample API + Publish installation for development purposes
## Installation
1. Install API
```shell
cd api
npm install
```
1. Install Publish
```shell
cd publish
npm install
```
## Usage
1. Run both web services
```shell
## Run API
cd api && npm start
# Run Publish
cd publish && npm start
```
1. Access Publish on http://127.0.0.1:3001
1. Access API on http://127.0.0.1:9998. The following user is created by default:
```json
{
"clientId": "api-client",
"secret": "client-secret",
"accessType": "admin"
}
```