Examples
The boilerplate provides a few examples to help you get started. Those are located in clearly separated folders, to help you remove them if not needed.
API Examples
Section titled “API Examples”The API examples are located in the apps/api/src/modules/example folder. They are:
ai-example: Example of an AI chat applicationcommentsandposts: Example of a comments and posts system, with basic CRUD operations, contracts, etc.
Web SPA Example
Section titled “Web SPA Example”The web-spa examples are located in the apps/web-spa/features/examples folder.
They are:
ai-chat-page, available athttp://localhost:5173/ai-chat: Example of an AI chat applicationuser-posts-page, available athttp://localhost:5173/dashboard: Example of a posts system, with basic CRUD operations, contracts, etc.
🧹 How to remove
Section titled “🧹 How to remove”- Delete
apps/api/src/modules/example - Remove the module import in
apps/api/src/app.module.ts - Delete
apps/web-spa/features/examples - Remove the routes in
apps/web-spa/app/routes.ts - Generate the types and SDKs again by running
pnpm generate
You should be good to go!