Open Closed

How can i start building Microservice Project with AI #10972


User avatar
0
kwanp created

Hi How can i start building Microservice Project with AI Can you please give me some tutorial how to start with

Thank you Champ

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • The ABP “Microservice” architecture is provided as a startup template (and there is also a step-by-step Microservice Development Tutorial). The “AI” part is not a built-in ABP Framework feature; typically you build the microservices with ABP, then integrate an AI provider (OpenAI/Azure OpenAI/etc.) inside the relevant services (application layer) as a normal .NET integration.

    • To start a Microservice solution with Angular + PostgreSQL:

      1. Follow Get Started: Creating a Microservice Solution to generate the solution structure and run it locally.
      2. Then follow the Microservice Development Tutorial to learn how services are designed, how gateways work, how auth is configured, and how you add new microservices.
      3. Once your services are running, add AI features by creating an application service in the microservice that needs it (e.g., “Chat”, “Recommendation”, “Document summarization”), and call your AI provider from there (kept behind an interface so you can swap providers).
    • For Angular UI: generate and run the Angular app that comes with the microservice template, and use it as the client of your gateways/backends.

    • For PostgreSQL: select PostgreSQL in the template options (or configure connection strings accordingly) and run the migrator/db migration steps required by the generated solution (the tutorial covers running/bootstrapping the system).

    Sources (validated):

    • https://abp.io/docs/latest/get-started/microservice
    • https://abp.io/docs/latest/tutorials/microservice
    • https://abp.io/docs/latest/startup-templates/microservice
    • https://abp.io/docs/latest/suite

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Hi,

    You can start with ABP Studio. It has a built-in AI Agent that can read your solution, plan a feature, change the code, add migrations and generate Angular proxies.

    1. Create the solution in ABP Studio with File -> New Solution. Pick the Classic templates, then Microservice, Angular, Entity Framework Core and PostgreSQL. The Modern templates only have React, so Angular isn't listed there.
    2. Run the solution from the Solution Runner with the Default profile and make sure you can log in to the Angular app.
    3. Open the ABP Agent panel on the right and click Enable AI. Then follow the microservice tutorial and use the agent for each step. For example, use Plan mode to plan the new Catalog service and the Products page, then switch to Agent mode to implement it.

    Microservice tutorial (Angular + EF Core): https://abp.io/docs/latest/tutorials/microservice?DB=EF&UI=NG

    Coding with the ABP Studio AI Agent: https://abp.io/docs/latest/studio/coding-with-ai-agent

    If you also use tools like Claude Code, Cursor or Copilot, you can connect them to the ABP docs and source code with the abp mcp command, see https://abp.io/docs/latest/cli#mcp. For the Angular app, ng g @abp/ng.schematics:ai-config --tool=claude creates the AI config files with ABP rules, see https://abp.io/docs/latest/framework/ui/angular/ai-config.

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v11.1.0-preview. Updated on December 02, 2026, 11:33
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.