Fujimod
Try your camera firmware in the browser and build Fujimod SD boot files.
Protótipo demonstrativo do sistema de viagens da Viação Hoffmann.
Translation pending
LifestyleHTML · JavaScriptGitHub @rafaeldatsch4-afkOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Site estático (index.html) + API serverless (api/) + Postgres (Neon) na Vercel.
Protótipo demonstrativo. Nenhuma passagem real é emitida e nenhum pagamento é processado. Horários, preços e vagas são ilustrativos.
index.html — front-end (HTML/CSS/JS puro, sem build). Fala com a API em /api/*.api/index.js — todas as rotas da API (um único handler com roteador interno).lib/db.js — conexão Postgres; cria o schema e os dados de exemplo sozinho na primeira requisição.lib/crypto.js — criptografia de campos pessoais (AES-256-GCM) e hash cego de e-mail.lib/auth.js — sessão por cookie assinado (HttpOnly, SameSite=Lax), hash de códigos, limite de tentativas de login.lib/trips.js — regras de viagens, poltronas e horários ilustrativos.dev-server.js — servidor local (estáticos + API). tests/api-test.js — testes da API.| Nome | Para quê |
|---|---|
DATABASE_URL | String de conexão do Postgres (Neon). |
SESSION_SECRET | Segredo (≥ 32 caracteres) que assina cookies e protege os códigos dos motoristas. |
ADMIN_PASSWORD | Senha do administrador. Para trocar, edite a variável e faça redeploy. |
DATA_ENCRYPTION_KEY | Chave (≥ 32 caracteres; use 64 hex) que criptografa telefone e e-mail dos candidatos. Guarde uma cópia: sem ela esses dados não podem ser lidos. |
Reservas (com controle de poltronas no servidor — dois clientes não pegam a mesma poltrona), candidaturas e códigos de motoristas (só o hash do código é guardado, e ele é exibido uma única vez ao aprovar), escalas, solicitações de viagem, status da frota e das viagens.
DATA_ENCRYPTION_KEY o servidor recusa novos cadastros em vez de gravar em texto puro. Nome e cidade ficam legíveis.Content-Type: application/json (proteção CSRF) e valida os dados no servidor.npm install
DATABASE_URL=postgres://usuario@localhost:5432/vh SESSION_SECRET=um-segredo-bem-grande-1234567890 \
ADMIN_PASSWORD=minha-senha DATA_ENCRYPTION_KEY=$(openssl rand -hex 32) node dev-server.js 3000
# testes da API (servidor rodando):
BASE=http://localhost:3000 ADMIN_PASSWORD=minha-senha node tests/api-test.js