New Application Component
π 10 minutes
What youβll learnβ
- How to create a new Application Component that will contain the source code for a specific application logic.
What is a CodeNOW Application Component?β
- Components in the Microservice architecture encapsulate a separate application logic, for example user details, billing, shipping and others.
- Application Components contain the source code for the given Application in separate Git repositories.
- Components have a separate versioning scheme (Each Component is versioned by its Builds).
note
An application in the microservices architecture is described by the application components and their orchestration.
Prerequisitesβ
- An Application created. See Create a New Application.
Procedureβ
1. Navigate to the Application Detail for the Application you want to create a Component for and click Choose Action
>Create New Component
.β

2. Choose a name and a description for the Application Component.β

3. Select a technology stack (Language / Build Tool / Framework) that you want to use in the Application Component (Set up Your Stack
)β
note
If you want to use external Docker images or change how an Application is deployed with the Helm Charts, see Using custom cluster configuration and Docker images in CodeNOW.
CodeNOW currently supports these combinations of technologies:
Java / Maven / Spring Boot
JavaScript / NPM / React
4. (Java and PHP only) Edit the Package name in Starter Configuration
β

5. (Optional) Connect third party Services integrated in CodeNOWβ
Prerequisitesβ
- A Service created.
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.

6. Click Create Component
and wait for the Component to be created.β
7. Set up your Local Environmentβ
See the component details for additional information about the component, including how to clone this project to your local environment.

7.1. Using the Component Git repositoryβ
- 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).

7.2. Set up your Local Environment for the specific Component technologiesβ
Follow the instructions in the Set up local environment
in the detail of your component. Instructions vary depending on the stack you choose.

Whatβs next?β
You might be interested in our other tutorials: