Skip to content

heyjosephme/salary-compass

Repository files navigation

Salary Compass 🧭

A modern web application that helps professionals make informed decisions about job offers by analyzing and comparing total compensation packages, including base salary, bonuses, and overtime benefits.

Features

  • 💰 Compare multiple job offers side by side
  • 📊 Calculate total compensation including base salary, bonuses, and overtime
  • 🔐 Secure storage of your compensation data
  • 📱 Responsive design for desktop and mobile
  • 🌙 Dark mode support
  • 🔄 Real-time updates and calculations

Tech Stack

  • Frontend: Next.js 15 with TypeScript
  • Styling: Tailwind CSS
  • Database: Supabase (PostgreSQL)
  • Authentication: Supabase Auth
  • Deployment: Vercel + Supabase Cloud

Prerequisites

  • Node.js 22 or later
  • npm or pnpm or yarn
  • Supabase CLI
  • Git

Local Development Setup

  1. Clone the repository
git clone https://github.com/yourusername/salary-compass.git
cd salary-compass
  1. Install dependencies
npm install
  1. Set up Supabase locally
# Install Supabase CLI if you haven't
brew install supabase/tap/supabase  # for macOS
# or
npx supabase@latest init

# Start Supabase locally
npx supabase start
  1. Create environment variables file (.env.local)
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-local-anon-key  # From supabase start output
  1. Run database migrations
npx supabase migration up
  1. Start the development server
npm run dev

The application will be available at http://localhost:3000

Database Schema

  • Plan to use Prisma

Deployment

Vercel Deployment

  1. Push your code to GitHub
  2. Connect your repository to Vercel
  3. Add environment variables in Vercel dashboard
  4. Deploy

Supabase Deployment

  1. Create a new project in Supabase
  2. Update environment variables with production Supabase credentials
  3. Run migrations on production database

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Contact

Your Name - @heyjosephme

Project Link: https://github.com/heyjosephme/salary-compass

About

💰 Smart salary calculator to compare job offers and analyze total compensation packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published