Modern ERP Reports Application with microservices architecture Tech Stack: - Backend: FastAPI + python-oracledb (Oracle DB integration) - Frontend: Vue.js 3 + PrimeVue + Vite - Telegram Bot: python-telegram-bot + SQLite - Infrastructure: Shared database pool, JWT authentication, SSH tunnel Features: - FastAPI backend with async Oracle connection pool - Vue.js 3 responsive frontend with PrimeVue components - Telegram bot alternative interface - Microservices architecture with shared components - Complete deployment support (Linux Docker + Windows IIS) - Comprehensive testing (Playwright E2E + pytest) Repository Structure: - reports-app/ - Main application (backend, frontend, telegram-bot) - shared/ - Shared components (database pool, auth, utils) - deployment/ - Deployment scripts (Linux & Windows) - docs/ - Project documentation - security/ - Security scanning and git hooks
36 lines
762 B
JavaScript
36 lines
762 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
browser: true,
|
|
es2022: true
|
|
},
|
|
extends: [
|
|
'eslint:recommended'
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module'
|
|
},
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }]
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['**/*.spec.js', '**/tests/**/*.js'],
|
|
env: {
|
|
jest: true,
|
|
node: true
|
|
},
|
|
globals: {
|
|
test: 'readonly',
|
|
expect: 'readonly',
|
|
describe: 'readonly',
|
|
beforeEach: 'readonly',
|
|
afterEach: 'readonly'
|
|
}
|
|
}
|
|
]
|
|
}; |