Skip to content

Spring Boot REST API with Spring Security πŸ”’, Spring HATEOAS πŸ“ƒ, and Thymeleaf πŸƒ

Notifications You must be signed in to change notification settings

teotsi/webtech2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spring Boot REST API with Spring Security πŸ”’, Spring HATEOAS πŸ“ƒ, and Thymeleaf πŸƒ

Simple Spring Boot API that utilizes OMDB API to allow users to search for movies and save them in their personal account.

This projects assumes that the backend DB is PostgreSQL. There also a CORS Filter in place that currently allows requests from localhost:5500 (as well as whatever address the server is running on).

To use with PostgreSQL, you will need to setx DB_PASS <password> or export DB_PASS=<password>. (or just edit the whole application.properties).

Example usage:

GET /user/<id>
{
    "id": "3c934579-f734-44af-974d-e1e2ec78afed",
    "email": "test@test.gr",
    "links": [
        {
            "rel": "self",
            "href": "http://localhost:8080/user/3c934579-f734-44af-974d-e1e2ec78afed"
        },
        {
            "rel": "movies",
            "href": "http://localhost:8080/user/3c934579-f734-44af-974d-e1e2ec78afed/movies"
        }
    ]
}

About

Spring Boot REST API with Spring Security πŸ”’, Spring HATEOAS πŸ“ƒ, and Thymeleaf πŸƒ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published