This repository has been archived on 2026-01-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Leons Aleksandrovs 938c9a66e5 feat(api): create template
Add template table to the database
Create controller function to check if user has template, and create it
in the database
Made universal jwt.Claims of user data retrieval function
2025-07-09 23:19:31 +03:00
2025-07-09 23:19:31 +03:00
2025-07-03 21:58:49 +03:00
2025-07-09 23:19:31 +03:00
2025-07-05 22:31:10 +03:00
2025-07-03 23:28:01 +03:00
2025-07-03 23:28:01 +03:00

Cover letter templater

Generates cover letters based on a template, and job listening using OpenAI.

Stack

  • Frontend:
    • Reactjs
    • Tailwindcss
    • Mantine component library
    • TanStack Router + Query + Forms
  • Backend: Golang
  • Database: PostgreSQL
  • Deployment: Docker

Backend

Structure example (TODO: Replace with actual one)

backend/
├── main.go                 # Entry point
├── api/                    # Route handlers grouped by domain
│   ├── auth.go
│   └── coverletters.go
├── routes/                 # HTTP route registration
│   └── routes.go
├── middleware/             # Custom middleware (logging, auth)
│   └── auth.go
├── models/                 # Data models, structs, db access
│   ├── user.go
│   └── coverletter.go
├── db/                     # Database connections  / migrations
│   ├── db.go
│   └── migrations.sql
├── services/               # Business logic (e.g. OpenAI integration)
│   ├── auth_service.go
│   └── coverletter_service.go
├── utils/                  # Shared helpers/utilities
│   └── jwt.go
└── config/                 # Env loading, settings
    └── config.go

Frontend

Structure example

TODO: ADD STRUCTURE EXAMPLE

Deployement

TODO: ADD DEPLOYMENT INSTRUCTIONS

Development

If you want to run development version, you will need docker. Docker handles frontend, backend and proxies everything to single port.

# Run development environment
docker compose -f development.yml up --build
Description
App that lets you create cover letter for job using AI
Readme 340 KiB
Languages
TypeScript 67.4%
Go 26.9%
CSS 4.9%
HTML 0.6%
Shell 0.2%