Skip to content

rahul6789sharma/manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FootBall Teams Manager

Technologies

  1. Java 17
  2. Spring Framework Boot v3.x.x
  3. Spring Data Jpa
  4. H2 dataBase
  5. Maven

About The Project

There are 2 REST points to perform following operations related to FootBall Teams Manager :

  1. POST Endpoint /teams to create teams with players or without player.
  2. GET Endpoint to retrieve teams. This end point support pagination and sortBy option

Project repository

Build and run

Getting Started

Clone the repository

git clone [email protected]:rahul6789sharma/manager.git

Setting up the workspace

After cloning the Repository it can be placed anywhere on your local hard drive.

Prerequisites & Installation for SpringBoot

Requirements

For building and running the application you need:

Building the application locally

cd <path_of_backend_repo>
mvn clean install
Ex: <MainPath>/test/

Deploying the application

  1. Locally
java -jar manger-0.0.1-SNAPSHOT.jar

After starting applcation

you can use postman collection to test the applcation

tools/FootTeam Manager.postman_collection.json

Rest URL's Here are some url samples for pagination (with/without filter):

GET /team: using default page and size

http://localhost:8080/teams

GET /team: with pagination and shorting option

http://localhost:8080/teams?offset=0&pageSize=1&sortBy=name&dir=DESC

Post: /team: to create teams

Post : http://localhost:8080/teams


{
"name": "a",
"acronym":"acronym",
"players": [
{
"name": "p1"
},
{
"name": "p2"
}
]
}

Code Formatter

https://confluence.hilti.com/pages/viewpage.action?spaceKey=pshilti&title=How+to+setup+code-formatter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages