mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat: add docs and polish
This commit is contained in:
parent
a27fcce03b
commit
75d3e2edbd
9 changed files with 94 additions and 55 deletions
|
|
@ -11,12 +11,14 @@ import {
|
|||
isGlobal: true,
|
||||
validationSchema: Joi.object({
|
||||
// Application
|
||||
NODE_ENV: Joi.string().valid("dev", "production").default("dev"),
|
||||
PORT: Joi.number().default(3000),
|
||||
APP_URL: Joi.string().default("http://localhost:3000"),
|
||||
|
||||
// JWT
|
||||
JWT_SECRET: Joi.string().required(),
|
||||
JWT_ALGORITHM: Joi.string()
|
||||
.default("HS256")
|
||||
.allow("HS256", "HS384", "HS512"),
|
||||
JWT_EXPIRATION_TIME: Joi.string().default("1d"),
|
||||
|
||||
// Spotify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue