Skip to content
Merged
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
42 changes: 42 additions & 0 deletions .cspell/custom-dictionary-workspace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ abordagem
aborta
abra
abre
abreviações
Abrir
absoluta
Absolutas
Expand Down Expand Up @@ -62,6 +63,7 @@ ajustar
Ajustes
AKVGSK
aleatório
alegre
além
Alemanha
alemania
Expand Down Expand Up @@ -100,6 +102,8 @@ andybalholm
anexar
Ângela
angelacao
anos
Anos
Anotações
anteriores
antigas
Expand All @@ -123,6 +127,7 @@ aplicar
aplicável
apontando
aponte
aprendiz
Apresentação
apresentável
apresentou
Expand All @@ -140,6 +145,7 @@ asar
Assinaturas
assíncrona
assíncrono
assistente
associados
ataque
ataques
Expand Down Expand Up @@ -195,6 +201,7 @@ básica
Básicas
bater
Beene
belo
Benefícios
benetesla
Benevanio
Expand Down Expand Up @@ -241,6 +248,7 @@ Cancela
cancelado
cancelamento
Cand
canddate
CANDIDATADAS
Candidatar
candidatura
Expand All @@ -259,9 +267,11 @@ carreira
cascadia
casos
catálogo
catarina
CAUSA
causar
causava
ceara
Centraliza
centralizado
Centralizamos
Expand Down Expand Up @@ -359,6 +369,7 @@ conflito
conhece
conhecer
conhecidas
conhecido
conjunto
Conseguir
considere
Expand Down Expand Up @@ -391,6 +402,8 @@ Controles
conversão
Converte
convites
cooperado
cooperativa
coreia
coroutinelib
corpo
Expand Down Expand Up @@ -486,6 +499,7 @@ destruir
detalhada
detalhadas
detalhado
Detalhe
detecção
detecta
detectadas
Expand Down Expand Up @@ -525,6 +539,7 @@ disponível
disso
distinguir
distribui
distrito
diversas
documentação
documentadas
Expand All @@ -546,7 +561,9 @@ ecossistema
edita
editadas
editados
efeito
efetivamente
efetivo
eficiência
egito
elas
Expand Down Expand Up @@ -616,6 +633,7 @@ españa
espanha
Espanha
especiais
especialista
específica
especificação
especificadas
Expand All @@ -634,6 +652,7 @@ esqueci
essa
estados
Estados
estagiario
estágio
estar
Estas
Expand Down Expand Up @@ -725,6 +744,7 @@ falhar
falhas
falhe
falhou
falso
falsos
falta
fazem
Expand All @@ -741,6 +761,7 @@ FINALIZADO
fintech
flexibilidade
flexíveis
florianopolis
fluído
flutuação
fluxo
Expand All @@ -760,6 +781,7 @@ fornecidos
fpconv
frança
França
freela
frequentemente
fulano
Fulano
Expand Down Expand Up @@ -813,6 +835,7 @@ hintrc
Histórico
hoje
holanda
horizonte
hotjar
hscan
HSTS
Expand Down Expand Up @@ -880,6 +903,7 @@ individuais
individualmente
inesperado
inexistente
inferência
inferidos
infinito
inflar
Expand Down Expand Up @@ -959,14 +983,18 @@ isolar
isso
iterações
janela
joana
joaosilva
jobsglobal
jobsglobalscraper
jobstore
jooble
Jooble
julho
juridica
KHTML
kimi
Kimi
klarna
Krsj
kvstore
Expand Down Expand Up @@ -994,6 +1022,7 @@ linha
linhas
linit
listagem
listas
loadlib
localidade
localiza
Expand Down Expand Up @@ -1027,6 +1056,7 @@ marca
marcado
marcar
margem
mariaclara
marrocos
mastigada
mathlib
Expand All @@ -1049,8 +1079,10 @@ memória
menos
mensagem
mensagens
mensais
mensuráveis
mentores
Mentorias
mescladas
mesma
mesmas
Expand Down Expand Up @@ -1091,6 +1123,7 @@ monitorado
Monitorar
montá
montar
moonshotai
Mostrando
Mostrar
motivo
Expand Down Expand Up @@ -1127,6 +1160,7 @@ normalizado
normalizados
normalizar
Notas
notificação
Notificações
notificou
novamente
Expand All @@ -1149,6 +1183,7 @@ observáveis
obtém
obter
ocasionais
ocorre
omitido
onde
Opção
Expand Down Expand Up @@ -1245,6 +1280,7 @@ persistir
pesquisa
pesquisadas
Pesquisem
pessoa
Pessoas
piechart
pior
Expand All @@ -1271,6 +1307,7 @@ portas
portfólio
posicionamento
posições
positivo
positivos
possível
possivelmente
Expand Down Expand Up @@ -1383,10 +1420,13 @@ recentemente
recoloca
Recomenda
Recomendações
recomendada
recomendadas
recomendado
recomendados
reconcilia
reconecta
reconhece
recorre
Recrutadores
recrutamento
Expand All @@ -1404,6 +1444,7 @@ referência
registrado
registro
registros
regra
regras
Regressão
reindexação
Expand Down Expand Up @@ -1558,6 +1599,7 @@ sinal
sincronização
Sincronizado
Sincronizar
síncrono
Singapura
singleflight
SISMEMBER
Expand Down
4 changes: 2 additions & 2 deletions backend/bruno/Auth/Login.bru
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ post {

body:json {
{
"email":"hudsontavares@gmail.com",
"password":"tavares10"
"email":"teste.criptografia.001@example.com",
"password":"SenhaForte123"
}
}

Expand Down
7 changes: 4 additions & 3 deletions backend/bruno/Jobs/SearchJobs.bru
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ meta {
}

get {
url: {{base_url}}/jobs/search?location=&keywords=node.js
url: {{base_url}}/jobs/search?location=Brasil&level=Junior
body: none
auth: inherit
}

params:query {
location:
keywords: node.js
location: Brasil
level: Junior
~keywords:
}

headers {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "users" ADD COLUMN "technology_experiences_encrypted" text;--> statement-breakpoint
ALTER TABLE "user_preferences" ADD COLUMN "career_checklist" jsonb DEFAULT '[]'::jsonb;
19 changes: 19 additions & 0 deletions backend/drizzle/0011_user_notifications.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CREATE TYPE "notification_channel" AS ENUM ('notification', 'message');--> statement-breakpoint
CREATE TYPE "notification_type" AS ENUM ('job_saved', 'job_applied', 'job_status_changed', 'high_match', 'mentor', 'system');--> statement-breakpoint
CREATE TABLE "user_notifications" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"user_id" uuid NOT NULL,
"channel" "notification_channel" DEFAULT 'notification' NOT NULL,
"type" "notification_type" NOT NULL,
"title" text NOT NULL,
"message" text NOT NULL,
"entity_type" varchar(50),
"entity_id" text,
"metadata" jsonb DEFAULT '{}'::jsonb,
"read_at" timestamp,
"created_at" timestamp DEFAULT now() NOT NULL
);
--> statement-breakpoint
ALTER TABLE "user_notifications" ADD CONSTRAINT "user_notifications_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
CREATE INDEX "user_notifications_user_created_at_idx" ON "user_notifications" USING btree ("user_id","created_at");--> statement-breakpoint
CREATE INDEX "user_notifications_user_read_at_idx" ON "user_notifications" USING btree ("user_id","read_at");
14 changes: 14 additions & 0 deletions backend/drizzle/meta/_journal.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@
"when": 1784121210863,
"tag": "0009_encrypt_remaining_profile_fields",
"breakpoints": true
},
{
"idx": 10,
"version": "7",
"when": 1784207610863,
"tag": "0010_profile_skill_experience_and_career_checklist",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1784294010863,
"tag": "0011_user_notifications",
"breakpoints": true
}
]
}
2 changes: 2 additions & 0 deletions backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { authRoutes } from "./routes/auth.routes";
import adminRoutes from "./routes/admin.routes";
import { jobsRoutes } from "./routes/jobs.routes";
import { keywordsRoutes } from "./routes/keywords.routes";
import { notificationsRoutes } from "./routes/notifications.routes";
import { savedJobsRoutes } from "./routes/savedJobs.routes";
import superAdminRoutes from "./routes/superAdmin.routes";
import supportRoutes from "./routes/support.routes";
Expand Down Expand Up @@ -40,6 +41,7 @@ export function createJobsApiApp() {
app.use("/users", withSession, requireAuth, userRoutes);
app.use("/jobs", withSession, requireAuth, jobsRoutes);
app.use("/keywords", withSession, requireAuth, keywordsRoutes);
app.use("/notifications", withSession, requireAuth, notificationsRoutes);
app.use("/saved-jobs", withSession, requireAuth, savedJobsRoutes);
app.use("/admin", withSession, supportRoutes);
app.use("/admin", withSession, adminRoutes);
Expand Down
1 change: 1 addition & 0 deletions backend/src/db/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ export * from "./credentials";
export * from "./keywords";
export * from "./permissionRules";
export * from "./savedJobs";
export * from "./userNotifications";
export * from "./userPreferences";
export * from "./users";
Loading
Loading