Skip to content

Spring boot REST service application for polymetric-client

License

Notifications You must be signed in to change notification settings

PerfectStorms/polymetric-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polymetric-server

License JDK

Task

Create a Spring Boot REST API Service for the polymetric-client.

Technologies

Java 8
Spring Boot 2.1.5
Spring Data
Hibernate
Postgresql
Lombok
Devtools
Maven

How to run the application?

Package the project with using maven fo create jar file:

mvn package

Run application:

jar tvf target/polymetrica-0.0.1-dev.jar
java -jar target/polymetrica-0.0.1-dev.jar

after open your browser: 127.0.0.1:8080/actions/video

API

We provide a REST service for easy management with data from the database.

Video actions

Type Path Description Parameters
GET /actions/video/ List all video actions
GET /actions/video/{id} Get one video action by {id} id (long)
POST /actions/video/add Add new video action username (String)
type_id (long)
time (HH:MM:SS)
date: (YY-MM-DD)
videoId (long)
videoPosition (HH:MM:SS)
rePosition (HH:MM:SS)

Video action types

Type Path Description Parameters
GET /actions/video/types List all video action types
GET /actions/video/types/{id} Get one video action typeId by {id} id (long)

Video action types

Type Path Description Parameters
GET /actions/video/types List all video action types
GET /actions/video/types/{id} Get one video action typeId by {id} id (long)

Contribute

For any problems, comments, or feedback please create an issue here on GitHub.

Licence

Game of Life is released under the MIT license.

About

Spring boot REST service application for polymetric-client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages