# Full-Stack Project Starter: Angular + Spring Boot (JWT, Dock

> Generate a ready-to-run Angular + Spring Boot monorepo with JWT auth, PostgreSQL, Redis, Docker Compose, and CI in one prompt.

Full-Stack Project Starter: Angular + Spring Boot (JWT, Dock is a paid AI agent skill on Agensi by Antonio Lloret Sánchez, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Antonio Lloret Sánchez](https://www.agensi.io/creators/antonio-lloret-sanchez)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/full-stack-project-starter-angular-spring-boot-jwt-dock
- Tags: api, angular, spring-boot, java, docker, postgresql

## What it does

- Generates a complete project folder for both frontend and backend code
- Sets up secure user registration and login with token revocation
- Configures a database and a cache system that work out of the box
- Builds automated test and deployment files for GitHub
- Includes a ready to use setup for running the whole app in containers

## Who it's for

- **Founders building a new web app:** Skip weeks of setup and get a professional project structure that scales. Try: "Build me a new project for a customer portal."
- **Freelancers starting client projects:** Deliver a high quality code base with security and deployment tools ready to go. Try: "Scaffold an inventory system for a client."
- **Java and Angular developers:** Get a clean starting point with modern best practices for your next full stack app. Try: "Start a new Angular and Spring Boot project called fleet-manager."

## About this skill

Setting up a professional full-stack app usually means wiring auth, database, cache, Docker, and CI before writing real features. This skill generates that foundation so you can start building immediately.

### How it works
1. You provide a project name, Java package, output directory, and optional database name.
2. The skill runs a scaffold script to generate the backend, Docker Compose, env files, and CI.
3. You create the Angular app and apply the included overlay (auth service, interceptor, guard, proxy, Nginx config).
4. You run `docker compose up --build` and verify the auth flow.

### What you get
- **Backend:** Spring Boot 3.3, Java 21, Spring Security 6 (stateless), JJWT, JPA, Flyway, Redis, Actuator
- **Auth:** register, login, `/me`, logout with real token revocation in Redis (jti blacklist with TTL)
- **Data:** PostgreSQL 16 + Flyway migrations (`ddl-auto: validate`)
- **Frontend overlay:** Angular auth service (signals), functional HTTP interceptor, route guard, dev proxy, Nginx Dockerfile
- **Infra:** Docker Compose with healthchecks, `.env` generated with a random JWT secret, GitHub Actions CI

### Why this beats prompting it yourself
A generic prompt can produce isolated files, but this skill wires backend, frontend, database, Redis, Docker, and CI together with a verifiable flow. It includes real logout revocation and a concrete verification checklist.

### Use cases
- Starting a new SaaS/admin portal with secure login.
- Building a client MVP that needs a clean, deployable foundation.
- Creating a team baseline with modern Angular + Spring Boot practices.

### Known limitations
- Access token is stored in `localStorage` for simplicity. For highly sensitive apps, use the httpOnly + SameSite cookie alternative documented in the reference notes.
- You must run the included verification steps before shipping to production.

## Requires

- @angular/cli
- Node.js
- Python 3
- Java 21
- Maven
- Docker Desktop

Runs local commands (python, npx/ng, mvn, docker compose) and writes files in the output directory you choose. No external accounts or API keys required.

## Technical details

Spring Boot 3.3 (Java 21), Spring Security 6 stateless JWT (JJWT 0.12), PostgreSQL 16, Flyway, Redis 7, Angular 20 overlay (signals/interceptor/guard), Docker Compose, GitHub Actions CI. Includes a Python scaffold script. Requires Python 3, Node/npm, Java 21 + Maven, Docker Desktop. Ports: 5432, 6379, 8080, 4200.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Full-Stack Project Starter: Angular + Spring Boot (JWT, Dock skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What exactly does this skill build for me?

A ready-to-run full-stack monorepo: Angular frontend, Spring Boot/Java 21 backend, JWT auth (register, login, /me, logout with Redis revocation), PostgreSQL + Flyway, Redis, Docker Compose, and GitHub Actions CI.

### What files will I receive after using this?

A project folder with backend/, frontend/ (after applying the overlay), docker-compose.yml, .env/.env.example, CI workflow, and reference notes. The exact project name/package are based on your inputs.

### Do I need any specific software installed to use the results?

Yes. Python 3, Node.js/npm (for Angular CLI), Java 21 + Maven, and Docker Desktop. Ports 5432, 6379, 8080, and 4200 should be free.

### Are there any security limitations I should know about?

For simplicity, the access token is stored in localStorage. For highly sensitive apps, switch to an httpOnly + SameSite cookie approach (documented in the included reference notes). The generated .env contains a random JWT secret—keep it private.

### How do I tell my AI agent to start the process?

Try: “Use the Full-Stack Project Starter skill to scaffold a project called task-tracker with Java package com.company.tasks, then walk me through the verification steps.”

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
