orbiting / republik-admin-frontend

[DEPRECATED] moved to https://github.com/republik/plattform A front end to manage users and payments of Republik.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DEPRECATED] Republik Admin Frontend

⚠️ This repository together with others has been merged into the republik/plattform monorepo. Let's continue the journey there. ⚠️

Usage

Quick start

You need to have node 8.9+ installed.

Bootstrap your .env file:

cp .env.example .env

Install and run:

npm install
npm run dev

The example env assumes a Republik backend running on port 5010. The backend needs to run on the same TLD for cookie sharing.

ZAT

(Very drafty section)

Develop

Copy and adopt zat/settings.json.example as zat/settings.json

Append https://{subdomain}.zendesk.com to ENV variable CSP_FRAME_ANCESTORS

Run and keep running Zendesk App Tools server:

npm run zat:dev

Run republik-admin-frontend (as you would for development):

npm run dev

Open Zendesk with zat=true query parameter:

  • https://{subdomain}.zendesk.com/agent/tickets/{Ticket ID}?zat=true

Publish

npm run zat:package

Upload latest ZIP file in zat/tmp to Zendesk https://{subdomain}.zendesk.com/agent/admin/apps/manage

Some resources

License

The source code is «BSD 3-clause» licensed.

About

[DEPRECATED] moved to https://github.com/republik/plattform A front end to manage users and payments of Republik.


Languages

Language:JavaScript 99.7%Language:Dockerfile 0.1%Language:Shell 0.1%