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.
938c9a66e5fe522949f44d465c2935ad56694379
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
Cover letter templater
Generates cover letters based on a template, and job listening using OpenAI.
Stack
- Frontend:
ReactjsTailwindcssMantinecomponent 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
Languages
TypeScript
67.4%
Go
26.9%
CSS
4.9%
HTML
0.6%
Shell
0.2%