Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jobbernaut Tabs Backend (Control Layer)

This repository hosts the Jobbernaut Tabs Backend, the synchronous logic layer responsible for CRUD operations and triggering asynchronous workflows.

🧠 Logical Component

  • Jobbernaut Tabs Backend: A Kotlin Quarkus Lambda function that acts as the primary API handler.

⚡️ Responsibilities

  1. CRUD Operations: Reading and writing job application data to a relational database.
  2. Authentication: Handling LinkedIn OAuth flow and issuing signed JWTs for session management.
  3. Security: Validating incoming requests and generating presigned URLs for secure file access via cloud object storage.
  4. Orchestration Trigger: Initiating the Jobbernaut Director (Step Functions) execution when a user requests a new tailored resume.

🛠 Tech Stack

  • Runtime: Java (Containerized AWS Lambda with GraalVM native)
  • Framework: JKotlin-based Quarkus
  • Database: Relational database via JDBC connection pooling (TBD)
  • Storage: Cloud object storage bucket for Tailor artifacts
  • Auth: LinkedIn OAuth 2.0 + JWT
  • CI/CD: GitHub Actions — build JAR, deploy to Lambda on push to main
  • Dependencies: JDBC driver, JWT library, AWS SDK

🔌 API Surface

Method Route Description
POST /auth/linkedin/callback LinkedIn OAuth callback, returns JWT
GET /jobs Fetch all jobs for authenticated user
POST /jobs Add a new job
PUT /jobs/{id} Edit an existing job
DELETE /jobs/{id} Delete a job
PATCH /jobs/{id}/archive Archive a job
POST /jobs/{id}/tailor Trigger async Tailor pipeline (Step Functions)

jobbernaut-tabs-backend

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/.

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./mvnw quarkus:dev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.

Packaging and running the application

The application can be packaged using:

./mvnw package

It produces the quarkus-run.jar file in the target/quarkus-app/ directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/quarkus-app/lib/ directory.

The application is now runnable using java -jar target/quarkus-app/quarkus-run.jar.

If you want to build an über-jar, execute the following command:

./mvnw package -Dquarkus.package.jar.type=uber-jar

The application, packaged as an über-jar, is now runnable using java -jar target/*-runner.jar.

Creating a native executable

You can create a native executable using:

./mvnw package -Dnative

Or, if you don't have GraalVM installed, you can run the native executable build in a container using:

./mvnw package -Dnative -Dquarkus.native.container-build=true

You can then execute your native executable with: ./target/jobbernaut-tabs-backend-1.0.0-SNAPSHOT-runner

If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.

Related Guides

  • AWS Lambda HTTP (guide): Allow applications written for a servlet container to run in AWS Lambda
  • Hibernate Validator (guide): Bean validation using Hibernate Validator and Jakarta Validation annotations
  • SmallRye JWT (guide): Secure your applications with JSON Web Token
  • Flyway (guide): Handle your database schema migrations
  • SmallRye OpenAPI (guide): Generate OpenAPI schemas and serve Swagger UI for REST API documentation
  • JDBC Driver - PostgreSQL (guide): Connect to the PostgreSQL database via JDBC
  • Kotlin (guide): Write your services in Kotlin
  • REST Jackson (guide): Jackson serialization support for Quarkus REST. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it
  • Hibernate ORM with Panache and Kotlin (guide): Define your persistent model in Hibernate ORM with Panache

Provided Code

Hibernate ORM

Create your first JPA entity

Related guide section...

Related Hibernate with Panache in Kotlin section...

REST

Easily start your REST Web Services

Related guide section...

About

The Manager. Java Lambda functions for the Jobbernaut Tabs API (CRUD & Control).

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages