Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
backend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DevOps Assignment
backend
Commits
c8d0e5e3
Commit
c8d0e5e3
authored
Oct 11, 2023
by
Muhammad Suleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial Commit
parent
703f789b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
HelloWorldController.java
...a/com/devops/backend/controller/HelloWorldController.java
+2
-0
HelloWorldController.class
.../com/devops/backend/controller/HelloWorldController.class
+0
-0
No files found.
src/main/java/com/devops/backend/controller/HelloWorldController.java
View file @
c8d0e5e3
...
...
@@ -3,12 +3,14 @@ package com.devops.backend.controller;
import
com.devops.backend.model.HelloWorld
;
import
com.devops.backend.service.HelloWorldService
;
import
java.util.List
;
import
org.springframework.web.bind.annotation.CrossOrigin
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@CrossOrigin
(
origins
=
"http://localhost:3000"
)
@RestController
@RequestMapping
(
"helloworld"
)
public
class
HelloWorldController
{
...
...
target/classes/com/devops/backend/controller/HelloWorldController.class
View file @
c8d0e5e3
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment