Skip to content

SimpleSoftwareLTDA/what-are-your-salary-expectation

Repository files navigation

Qual A Sua Pretensão Salarial? (Salary Expectation Insights)

An analytical tool designed for objective salary negotiation based on empirical Glassdoor data. It leverages a high-performance Backend-for-Frontend (BFF) architecture to provide real-time, high-confidence fiscal metrics.

🚀 Overview

Negotiating salary without data is guessing. This project provides the empirical evidence needed to answer the dreaded "What are your salary expectations?" question with confidence and objectivity.

✨ Key Features

  • Empirical Data: Replaces subjective negotiation with verified Glassdoor salary data.
  • BFF Architecture: Uses a Cloudflare Worker as a Backend-for-Frontend to securely handle API interactions and provide edge caching.
  • CORS & Security: Strict CORS policies and server-side API key management ensure zero exposure of credentials to the client.
  • Intelligent Caching: Optimized caching strategies delivering ~74% speed improvements on recurring queries.
  • Multilingual Support: Fully localized in English (EN) and Portuguese (PT).
  • Responsive UI: Modern, glassmorphism-inspired design built with Angular and Tailwind CSS.

🛠️ Technical Stack

  • Frontend: Angular (Signals & RxJS)
  • Middleware/BFF: Cloudflare Workers
  • Styling: Tailwind CSS
  • Data Source: OpenWebNinja API (Glassdoor Integration)
  • Deployment: Vercel (Frontend) & Cloudflare (Backend)

🏗️ Architecture

The project follows a BFF (Backend-for-Frontend) pattern:

  • Frontend (Angular): Handles user interaction and state management.
  • BFF (Worker): Managed in the /worker directory, this layer handles:
    • API Key shielding (Server-side secrets).
    • Request transformation.
    • Intelligent caching (1h for success, 1s for 404s).
    • CORS orchestration.

🚥 Local Development

Prerequisites

  • Bun or Node.js
  • Cloudflare Wrangler CLI (for worker development)

Running the Frontend

bun install
bun run dev --port 3100

Running the Worker (BFF)

cd worker
npx wrangler dev

🌐 Production


Built with expertise by Robson Cassiano

About

How to answer what are your salary expectations?

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors