Skip to content

ApitechFR/wce-api

 
 

Repository files navigation

Description

Webconf de l'Etat is an open source project for webconferencing between agents.

Sequence diagram

sequenceDiagram
wce-portail->>+ wce-api: GET : /authentication/whereami
wce-api-->>-wce-portail: "RIE" ou "INTERNET"
wce-portail->>+ wce-api: GET : /authentication/login_authorize
wce-api-->>-wce-portail: 302 redirect to cerbère
wce-portail->>+ wce-api: GET : /authentication/login_callback
wce-api-->>-wce-portail: {roomName, jwt, accessToken}
wce-portail->>+ wce-api: GET : /authentication/logout
wce-api-->>-wce-portail: 302 redirect to cerbère
wce-portail->>+ wce-api: GET : /authentication/logout_callback
wce-api-->>-wce-portail: {url: "/"}
wce-portail->>+ wce-api: GET : /authentication/refreshToken
wce-api-->>-wce-portail: {accessToken}
wce-portail->>+ wce-api: GET : /roomExists/:roomName
wce-api->>+ prosody: GET : /roomExists/:roomName
prosody-->>-wce-api: true
wce-api-->>-wce-portail: {accessToken}
wce-portail->>+ wce-api: GET : /:roomName
wce-api-->>-wce-portail: {roomName, jwt, ?accessToken}
wce-portail->>+ wce-api: POST : /conference/create/byemail
wce-api-->>-wce-portail: { isWhitelisted: true, sended: 'email sended' }
wce-portail->>+ wce-api: GET : /stats/homePage
wce-api-->>-wce-portail: { conf, part }
wce-portail->>+ wce-api: POST : /feedback
wce-api->>+ mongoDB: {isVPN: 0,rt: {inv: 0,qty: 0},com: "string"}
mongoDB-->- wce-api: 201
wce-api-->>-wce-portail: 201
Loading

Installation

$ npm install

Running the app

# development

$ npm run start



# watch mode

$ npm run start:dev



# production mode

$ npm run start:prod

Test

# unit tests

$ npm run test



# e2e tests

$ npm run test:e2e



# test coverage

$ npm run test:cov

Stay in touch

License

Webconf is MIT licensed.

About

A fork of the wce-api repository from the DISIC organization.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 96.7%
  • HTML 1.9%
  • JavaScript 1.3%
  • Dockerfile 0.1%