Skip to content

rmvs/wicm-api

Repository files navigation

WICM API

Cluster management and authentication + authorization API for the WICM web app.

DKCR_HOST=
DCKR_PORT=
DB_URL=
SECRET=
PORT=
SWARM_NETWORK_ID=
APP_URL=

Set the default swarm network ID variable in SWARM_NETWORK_ID and APP_URL for the web app. DKCR_HOST and DCKR_PORT are the remote/local docker daemon host and port API respectively. If the host is remote, you might need to secure the Docker API. Tipically, the socket is tcp://127.0.0.1:2375/ if you prefer to manage locally.

You can install dependencies using

npm install

To build this project

npm run build

or

yarn build

To run this application:

First, migrate the database. This will also run the seed script and populate the database with default users and roles.

npx prisma migrate dev
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published