From: Ruben Beltran del Rio Date: Sun, 1 May 2022 07:43:38 +0000 (+0200) Subject: Remove outdated docs X-Git-Url: https://git.r.bdr.sh/rbdr/forum/commitdiff_plain/7b66f8a69c747932118a3e81f50c69258200d1e5?ds=sidebyside Remove outdated docs --- diff --git a/doc/README.md b/doc/README.md deleted file mode 100644 index d3119e0..0000000 --- a/doc/README.md +++ /dev/null @@ -1,88 +0,0 @@ -## Modules - -
-
Forum
-

The Forum class is the main entry point for the backend application.

-
-
- -## Typedefs - -
-
tForumBackendConfiguration : object
-

The main configuration object for the Forum backend. It will be used to -initialize all of the sub-components. It can extend any property of -the forum object.

-
-
tJWTConfiguration : object
-

Configures the behavior of the JWT token.

-
-
tRethinkDBConfiguration : object
-

Information required to connect to the rethinkDB server

-
-
- - - -## Forum - -The Forum class is the main entry point for the backend application. - -| Param | Type | Description | -| ------ | ---------------------------------------------------------------------- | ------------------------------------------------- | -| config | [tForumBackendConfiguration](#tForumBackendConfiguration) | the initialization options to extend the instance | - - - -### forum.run() - -Initializes the application and starts listening. Also prints a -nice robotic banner with information. - -**Kind**: instance method of [Forum](#module_Forum) - - -## tForumBackendConfiguration : object - -The main configuration object for the Forum backend. It will be used to -initialize all of the sub-components. It can extend any property of -the forum object. - -**Kind**: global typedef -**Properties** - -| Name | Type | Default | Description | -| ----------------- | ---------------------------------------------------------------- | ------------------------------- | ---------------------------------------------------------------- | -| [port] | number | 1978 | the port where the app will listen on | -| [staticDirectory] | string | "static" | the path, relative to the project root, where static assets live | -| [ttl] | number | 180 | the time in seconds that posts remain alive | -| rethinkDB | [tRethinkDBConfiguration](#tRethinkDBConfiguration) | | the configuration to connect to the rethinkDB server | -| jwt | [tJWTConfiguration](#tJWTConfiguration) | | the configuration for the JWT authentication | - - - -## tJWTConfiguration : object - -Configures the behavior of the JWT token. - -**Kind**: global typedef -**Properties** - -| Name | Type | Default | Description | -| ---------- | ------------------- | ------------------ | ---------------------------------- | -| [duration] | number | 86400 | the duration of the JWT in seconds | -| secret | string | | the secret used to sign the JWT | - - - -## tRethinkDBConfiguration : object - -Information required to connect to the rethinkDB server - -**Kind**: global typedef -**Properties** - -| Name | Type | Default | Description | -| ------ | ------------------- | ----------------- | ---------------------------------------- | -| host | string | | the location of the rethinkDB host | -| [post] | string | 6379 | port where rethinkDB server is listening |