Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PORT=3333
ALLOWED_URLS=[
"https://example.com"
]
107 changes: 107 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/
postgres/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

../.idea

# Build directory
build/
yarn.lock
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run commitlint ${1}
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh

(cd src && npm run format)
(cd src && npm run lint)
(cd src && npm run build)
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.12.0
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage
build
dist
node_modules
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"endOfLine": "auto",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "avoid"
}
84 changes: 84 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#0de831", // Rojo intenso cuando está activa
"activityBar.background": "#000000", // Fondo negro para la barra de actividades
"activityBar.foreground": "#000000", // Íconos en blanco
"activityBar.inactiveForeground": "#ffffff99", // Íconos inactivos en blanco translúcido
"activityBarBadge.background": "#0de831", // Badges en rojo
"activityBarBadge.foreground": "#000000", // Texto de los badges en blanco
"commandCenter.border": "#0de831", // Borde rojo para el Command Center
"sash.hoverBorder": "#0de831", // Borde rojo al pasar el mouse
"statusBar.background": "#000000", // Barra de estado en negro
"statusBar.foreground": "#ffffff", // Texto blanco en la barra de estado
"statusBarItem.hoverBackground": "#0de831", // Rojo al pasar el mouse sobre los ítems
"statusBarItem.remoteBackground": "#000000", // Fondo negro para entornos remotos
"statusBarItem.remoteForeground": "#0de831", // Texto rojo en entornos remotos
"titleBar.activeBackground": "#000000", // Barra de título negra cuando está activa
"titleBar.activeForeground": "#ffffff", // Texto blanco en la barra de título activa
"titleBar.inactiveBackground": "#000000", // Barra de título negra cuando está inactiva
"titleBar.inactiveForeground": "#ffffff99" // Texto blanco translúcido cuando está inactiva
},
"todo-tree.highlights.defaultHighlight": {
"icon": "alert",
"type": "tag",
"foreground": "#ffffff", // Texto blanco para las etiquetas por defecto
"background": "#0de831", // Fondo rojo para las etiquetas
"opacity": 100,
"iconColour": "#ffffff" // Íconos en blanco
},
"todo-tree.highlights.customHighlight": {
"TODO": {
"icon": "check",
"foreground": "#ffffff", // Texto blanco para TODO
"background": "#660000", // Fondo rojo oscuro
"opacity": 100,
"iconColour": "#0de831", // Ícono rojo
"gutterIcon": true
},
"FIXME": {
"icon": "flame",
"foreground": "#ffffff", // Texto blanco para FIXME
"background": "#990000", // Rojo más brillante para errores
"iconColour": "#0de831", // Ícono rojo de flama
"gutterIcon": true
},
"DONE": {
"icon": "verified",
"foreground": "#ffffff", // Texto blanco para tareas completadas
"background": "#003300", // Verde oscuro muy sutil para indicar completado
"iconColor": "#ffffff",
"gutterIcon": true
},
"TIPS": {
"foreground": "#ffffff", // Texto blanco para consejos
"background": "#333333" // Fondo gris oscuro
},
"BUG": {
"icon": "bug",
"type": "text",
"iconColour": "#0de831", // Ícono rojo para bugs
"foreground": "#ffffff", // Texto blanco para bugs
"background": "#4d0000", // Fondo rojo oscuro para bugs
"gutterIcon": true
}
},
"todo-tree.filtering.ignoreGitSubmodules": true,
"todo-tree.filtering.excludeGlobs": [
"**/node_modules/**",
"**/dist/**",
"**/build/**",
"**/coverage/**",
"**/.vscode/**",
"**/.git/**",
"**/.github/**",
"**/logs/**",
"**/tmp/**",
"**/bower_components/**",
"**/*.min.js",
"**/*.map",
"**/.DS_Store"
],
"todo-tree.general.tags": ["BUG", "HACK", "FIXME", "TODO", "DONE", "TIPS"],
"todo-tree.regex.regexCaseSensitive": false,
"todo-tree.general.tagGroups": {}
}
Loading