본문 바로가기
[AWS]/GITLAB

48장. 자바 애플리케이션 소개

by SAMSUNG CLOUD-OKY 2022. 2. 21.
반응형

 

## Gitlab 프로젝트 생성

 

 

 

https://gitlab.com/gitlab-course-public/cars-api

 

gitlab-course-public / cars-api

GitLab.com

gitlab.com

 

 

 

 

## API란?
API는 웹사이트와 같은 그래픽 인터페이스가 없는 프로그램입니다.
예를 들어 API는 프론트 엔드 애플리케이션 또는 모바일 애플리케이션에서 프로세스 또는 프로세스에서 데이터를 표시하는 데 사용됩니다.

 

https://www.youtube.com/watch?v=iFMLyMgCUTs 

 

 

 

 

 

## 사전 설치 개발 툴

https://www.jetbrains.com/idea/download/download-thanks.html?platform=windows&code=IIC 

 

Thank you for downloading IntelliJ IDEA!

Code-centric IDE, focused on your productivity. Full Java EE support, deep code understanding, best debugger, refactorings, everything right out of the box...

www.jetbrains.com

 

 

https://www.postman.com/downloads/

 

Download Postman | Get Started for Free

Try Postman for free! Join 17 million developers who rely on Postman, the collaboration platform for API development. Create better APIs—faster.

www.postman.com

Posman이라는 소프트웨어 개발 도구를 사용하겠습니다.

 

 

 

## Gradle을 사용하면 이 프로젝트를 빌드하고 실제로 내 컴퓨터에서 로컬로 시작할 수 있음

 

- 프로젝트에 필요한 모든 종속성이 있는지 확인합니다.
- Gradle -> Tasks -> application -> bootRun 클릭

 

 

 

## IntelliJ 기능

https://www.youtube.com/watch?v=S764o0mAXhg 

 

 

 

 

 

 

=========================================

 

So this is a code for the project, as I have created it so far as you can notice, it doesn't include

a Getler Abassi pipeline yet.

And this is actually what we are going to do in the section.

Now, I wanted to have like a common start.

So this is what is the repository?

It doesn't contain a pipeline.

So what we'll do next is to form this repository and have a common basis in order to fork it.

Click right here on Top on Falke.

And you will be able either to select a group if you have existing groups or simply clone it under your

profile.

In a matter of seconds, you have fought this repository and you will have an identical copy with what

I have.

In order to actually take a look at this code, I'm going to use a tool called Intelligibly Idea.

It's an idea specifically for Java projects or projects that work on the Java virtual machine.

If you haven't downloaded already, click here on download.

It's free to download.

But just in case you're not comfortable downloading new tools and stuff like that on your computer,

it's absolutely fine just to watch what I'm doing and you'll be able to build the pipeline without setting

everything up on your own computer.

Once you have installed intelligence, you will have the possibility of creating a new project and we're

going to create a project from virtual control because we are already for this repository.

The next screen you would be ask for the you are of the repository.

And this is a step we need to go back to the lab repository, click on Clone and get the you are well

I'll be using as this because I've already set up my SNH credentials.

On paste here to link to the repository and click on Klown.

And next, they're going to use intelligence to open this project.

If you want to take a look at the code, you will be able to open it here from project and this will

list the entire code of the project as it stands.

And initially, from the right hand side, I have to use the built tool called Gradle.

And Gradle allows me to build this project and actually to start it locally on my own machine so that

I'm going to go to tasks application, I'm going to select the button.

This is something pre configured and will make sure that the project has all the dependencies required

and that is able to start as soon as possible.

What I've built here is a simple job application that represents a conflict management solution and

the stand that you are maybe not familiar with intelligence and getting this to run on your computer

may be challenging if you cannot get it to work.

Don't worry.

It is a nice to have.

I just wanted to show you a very realistic project as it is nowadays.

It needs a lot of tools and a lot of analogies in order to run.

Having this installed locally is nice to have, but not necessary in order to build the pipeline that

we want to build.

You may also want to check the resources for some tutorials that can help you get started.

As you can see, I've started the application, but it doesn't do anything.

And what this application does is to expose an API that allows you to add value or remove cards from

a database.

An API is a program that doesn't have a graphical interface like website, for example, an API can

be used by a front end application or by a mobile application to display data in the process or in the

app or in different cases, because you can't view this in a browser.

I will use a software development tool called Posman, which is free to download and install, took

the resources folder for a quick installation of both men before continuing if you're not already familiar.

 

 

 

반응형

댓글