🕓 10 minutes
This tutorial details how to create a new application component that encapsulates specific application logic.
- Choose an existing application or Create a New Application.
Click on "Choose Action" in your application detail and select "Create New Component".
- An application in the microservices architecture is described by the application components and their orchestration.
- Components (microservices) encapsulate specific application logic (i.e. user details, billing, shipping, etc.).
- They have separate release cycles and Git repositories.
Choose a name and description for the component.
Choose your desired Language / Build Tool / Framework. CodeNOW currently supports:
Or choose another technology:
If you choose Java or PHP as your programming language, you can edit the name of your package in the Starter Configuration section.
Dockerfile and Helm files are usually generated automatically and are hidden from a normal user. Advanced configuration allows you to create and manage your own Dockerfile and Helm Files.
If you decide to use your own configuration, you need to know exactly what you are doing! The application may crash due to the wrong configuration.
If you want to connect a new service such as Kafka or Redis to your application component, see:
- Connect Service to Component - Auto Configuration tutorial to configure connection while creating new component.
- Connect Service to Component - Manual Configuration tutorial to configure connection after creating new component.
Create component and wait for the component creation. You can scroll down the component details to find the Git repository link, where the component source code will be stored.
See the component details for additional information about the component, including how to clone this project to your local environment.
- Clone the Git repository using your favourite Git management tool.
- Use your personal SSH key and start the development.
- You can also connect to your repository via HTTP(S).
- Use the same email and password you use to log in to CodeNOW.
Your personal SSH key.
Connect via HTTP(S).
Follow the instructions in the "Set up local environment" section in the detail of your component. Instructions vary depending on the stack you choose.
You might be interested in our other tutorials: