Skip to content

Commit cf5b38d

Browse files
Rafael AredesRafael Aredes
authored andcommitted
v1.0.0: Sistema de Gestão de EPIs - Release Inicial
Sistema completo para gerenciamento de Equipamentos de Proteção Individual (EPIs). ## Funcionalidades - Dashboard com métricas e estatísticas - Gestão de fichas de EPI por colaborador - Controle de estoque com movimentações - Catálogo de EPIs com categorias - Notas de entrada/saída - Relatórios e auditoria - Gestão de empresas contratadas e colaboradores ## Stack Técnica - Svelte 4 + SvelteKit 2 - TypeScript - Flowbite Svelte - TailwindCSS ## Arquitetura - Padrão Container/Presenter - Services para integração com API - Stores Svelte para estado global - Suporte a i18n (pt-BR/en-US)
0 parents  commit cf5b38d

186 files changed

Lines changed: 53241 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.production

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ===== PRODUCTION ENVIRONMENT =====
2+
# URL direta para produção
3+
VITE_API_BASE_URL=https://epi-backend-s14g.onrender.com/api
4+
VITE_BACKEND_BASE_URL=https://epi-backend-s14g.onrender.com
5+
VITE_ENVIRONMENT=production
6+
7+
# ===== GOOGLE SERVICES =====
8+
GOOGLE_API_KEY="KEY"
9+
10+
# ===== DEBUG =====
11+
VITE_DEBUG_API=false
12+
VITE_ENABLE_LOGGING=false

.github/workflows/deploy.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: 'pages'
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: '18'
28+
cache: 'npm'
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Build
34+
env:
35+
NODE_ENV: production
36+
run: npm run build
37+
38+
- name: Upload artifact
39+
uses: actions/upload-pages-artifact@v3
40+
with:
41+
path: ./build
42+
43+
deploy:
44+
needs: build
45+
runs-on: ubuntu-latest
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
steps:
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules
2+
.DS_Store
3+
.env
4+
.env.*
5+
!.env.example
6+
!.env.production
7+
.svelte-kit
8+
build
9+
test-results
10+
.hive-mind
11+
.roo
12+
.roomodes
13+
.claude
14+
dist

0 commit comments

Comments
 (0)